<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>axivdma: Axivdma_v6_0</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">axivdma
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">Axivdma_v6_0</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_axi_vdma___config.html">XAxiVdma_Config</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_axi_vdma___dma_setup.html">XAxiVdma_DmaSetup</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_axi_vdma___frame_counter.html">XAxiVdma_FrameCounter</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_axi_vdma___channel_call_back.html">XAxiVdma_ChannelCallBack</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga525d0fa8fc04a9dde871ab55cf6b227b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga525d0fa8fc04a9dde871ab55cf6b227b">XAXIVDMA_WRITE</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:ga525d0fa8fc04a9dde871ab55cf6b227b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4c57db0180eafe041035a8d4781cb2b9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga4c57db0180eafe041035a8d4781cb2b9">XAXIVDMA_HANDLER_GENERAL</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:ga4c57db0180eafe041035a8d4781cb2b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac1022ff84a093476cff8499bc4bbaae2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gac1022ff84a093476cff8499bc4bbaae2">XAxiVdma_ChannelHiFrmAddrEnable</a>(Channel)</td></tr>
<tr class="separator:gac1022ff84a093476cff8499bc4bbaae2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaf3790410e85baac4ef181f1b77c8cdf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gaaf3790410e85baac4ef181f1b77c8cdf">XAxiVdma_ChannelHiFrmAddrDisable</a>(Channel)</td></tr>
<tr class="separator:gaaf3790410e85baac4ef181f1b77c8cdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaebbb18b57a2957ab4a90b54c4f557fea"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gaebbb18b57a2957ab4a90b54c4f557fea">XAXIVDMA_MISMATCH_ERROR</a>&#160;&#160;&#160;0x80000010</td></tr>
<tr class="separator:gaebbb18b57a2957ab4a90b54c4f557fea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf573ed8e7f474ba68daa5e8070b976a0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>(BaseAddress,  RegOffset)                      &#160;&#160;&#160;XAxiVdma_In32((BaseAddress) + (RegOffset))</td></tr>
<tr class="separator:gaf573ed8e7f474ba68daa5e8070b976a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaa7bae0ada2e94f563704a8ae4cabfde"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">XAxiVdma_WriteReg</a>(BaseAddress,  RegOffset,  Data)                &#160;&#160;&#160;XAxiVdma_Out32((BaseAddress) + (RegOffset), (Data))</td></tr>
<tr class="separator:gaaa7bae0ada2e94f563704a8ae4cabfde"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga34821010a7787601c83e0ab528267df2"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga34821010a7787601c83e0ab528267df2">XAxiVdma_CallBack</a>) (void *CallBackRef, u32 InterruptTypes)</td></tr>
<tr class="separator:ga34821010a7787601c83e0ab528267df2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaea567b1a94234bd488f19ce82e22486b"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gaea567b1a94234bd488f19ce82e22486b">XAxiVdma_ErrorCallBack</a>) (void *CallBackRef, u32 ErrorMask)</td></tr>
<tr class="separator:gaea567b1a94234bd488f19ce82e22486b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga0eecc03385d10b80e8b17ff834033ac4"><td class="memItemLeft" align="right" valign="top">XAxiVdma_Channel *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u16 Direction)</td></tr>
<tr class="separator:ga0eecc03385d10b80e8b17ff834033ac4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8d11c9609cf957c560fb287af1433374"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, <a class="el" href="struct_x_axi_vdma___config.html">XAxiVdma_Config</a> *CfgPtr, u32 EffectiveAddr)</td></tr>
<tr class="separator:ga8d11c9609cf957c560fb287af1433374"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8dbd2faa070ca571f049e3b61f9bdb1e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga8dbd2faa070ca571f049e3b61f9bdb1e">XAxiVdma_Reset</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u16 Direction)</td></tr>
<tr class="separator:ga8dbd2faa070ca571f049e3b61f9bdb1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3e01bd69f101126d5962f7078ee3e520"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga3e01bd69f101126d5962f7078ee3e520">XAxiVdma_ResetNotDone</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u16 Direction)</td></tr>
<tr class="separator:ga3e01bd69f101126d5962f7078ee3e520"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0fc5b39aabb8d4f56b0dd2024ea5bff2"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga0fc5b39aabb8d4f56b0dd2024ea5bff2">XAxiVdma_IsBusy</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u16 Direction)</td></tr>
<tr class="separator:ga0fc5b39aabb8d4f56b0dd2024ea5bff2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9769479907cda3ef95ff1ed394de4629"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga9769479907cda3ef95ff1ed394de4629">XAxiVdma_CurrFrameStore</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u16 Direction)</td></tr>
<tr class="separator:ga9769479907cda3ef95ff1ed394de4629"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga24f182cf8678e4df6e0e2b19e2f50620"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga24f182cf8678e4df6e0e2b19e2f50620">XAxiVdma_GetVersion</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr)</td></tr>
<tr class="separator:ga24f182cf8678e4df6e0e2b19e2f50620"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga15653f0679e3a33efd384598b6c42e08"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga15653f0679e3a33efd384598b6c42e08">XAxiVdma_GetStatus</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u16 Direction)</td></tr>
<tr class="separator:ga15653f0679e3a33efd384598b6c42e08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga741b4b1607c2ee71a3be16ddd8300656"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga741b4b1607c2ee71a3be16ddd8300656">XAxiVdma_SetLineBufThreshold</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, int LineBufThreshold, u16 Direction)</td></tr>
<tr class="separator:ga741b4b1607c2ee71a3be16ddd8300656"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa3376589f8781eec1f0d619e1a0d3078"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gaa3376589f8781eec1f0d619e1a0d3078">XAxiVdma_FsyncSrcSelect</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u32 Source, u16 Direction)</td></tr>
<tr class="separator:gaa3376589f8781eec1f0d619e1a0d3078"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacf7ed6b0ef406b80e49ff25634f6d5f1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gacf7ed6b0ef406b80e49ff25634f6d5f1">XAxiVdma_GenLockSourceSelect</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u32 Source, u16 Direction)</td></tr>
<tr class="separator:gacf7ed6b0ef406b80e49ff25634f6d5f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf99dd7738b98367397831df26433843a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gaf99dd7738b98367397831df26433843a">XAxiVdma_StartParking</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, int FrameIndex, u16 Direction)</td></tr>
<tr class="separator:gaf99dd7738b98367397831df26433843a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8625bbc0ed0ab829f3153160c74bba44"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga8625bbc0ed0ab829f3153160c74bba44">XAxiVdma_StopParking</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u16 Direction)</td></tr>
<tr class="separator:ga8625bbc0ed0ab829f3153160c74bba44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4f05c5a75fdf840517c17d687443510d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga4f05c5a75fdf840517c17d687443510d">XAxiVdma_StartFrmCntEnable</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u16 Direction)</td></tr>
<tr class="separator:ga4f05c5a75fdf840517c17d687443510d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab14c0b0487aeb3347b289eb58453e75d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gab14c0b0487aeb3347b289eb58453e75d">XAxiVdma_SetBdAddrs</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u32 BdAddrPhys, u32 BdAddrVirt, int NumBds, u16 Direction)</td></tr>
<tr class="separator:gab14c0b0487aeb3347b289eb58453e75d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1dc126d885558e03cf06a4d9c05d5668"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga1dc126d885558e03cf06a4d9c05d5668">XAxiVdma_StartWriteFrame</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, <a class="el" href="struct_x_axi_vdma___dma_setup.html">XAxiVdma_DmaSetup</a> *DmaConfigPtr)</td></tr>
<tr class="separator:ga1dc126d885558e03cf06a4d9c05d5668"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab2646b6aeea2ff64c4b42319ffb49804"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gab2646b6aeea2ff64c4b42319ffb49804">XAxiVdma_StartReadFrame</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, <a class="el" href="struct_x_axi_vdma___dma_setup.html">XAxiVdma_DmaSetup</a> *DmaConfigPtr)</td></tr>
<tr class="separator:gab2646b6aeea2ff64c4b42319ffb49804"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3c50e96d431d9f1ee7d6200266c0dbd3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga3c50e96d431d9f1ee7d6200266c0dbd3">XAxiVdma_DmaConfig</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u16 Direction, <a class="el" href="struct_x_axi_vdma___dma_setup.html">XAxiVdma_DmaSetup</a> *DmaConfigPtr)</td></tr>
<tr class="separator:ga3c50e96d431d9f1ee7d6200266c0dbd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8fa5b3e7978fda9bde7498a9d4af3c73"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga8fa5b3e7978fda9bde7498a9d4af3c73">XAxiVdma_DmaSetBufferAddr</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u16 Direction, UINTPTR *BufferAddrSet)</td></tr>
<tr class="separator:ga8fa5b3e7978fda9bde7498a9d4af3c73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadf310ae3bd4c0ae9ebf3e445a2fbe444"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gadf310ae3bd4c0ae9ebf3e445a2fbe444">XAxiVdma_DmaStart</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u16 Direction)</td></tr>
<tr class="separator:gadf310ae3bd4c0ae9ebf3e445a2fbe444"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga133b5fd1032db27366382885d6d76484"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga133b5fd1032db27366382885d6d76484">XAxiVdma_DmaStop</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u16 Direction)</td></tr>
<tr class="separator:ga133b5fd1032db27366382885d6d76484"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab51f0d1f195db6af2dd3023e5c80eb5c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gab51f0d1f195db6af2dd3023e5c80eb5c">XAxiVdma_DmaRegisterDump</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u16 Direction)</td></tr>
<tr class="separator:gab51f0d1f195db6af2dd3023e5c80eb5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaabe404c2a5c1483bc95be749c7540ba4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gaabe404c2a5c1483bc95be749c7540ba4">XAxiVdma_SetFrameCounter</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, <a class="el" href="struct_x_axi_vdma___frame_counter.html">XAxiVdma_FrameCounter</a> *CfgPtr)</td></tr>
<tr class="separator:gaabe404c2a5c1483bc95be749c7540ba4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabb2cecf1628ce8f7b42ffca3608bdf70"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gabb2cecf1628ce8f7b42ffca3608bdf70">XAxiVdma_GetFrameCounter</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, <a class="el" href="struct_x_axi_vdma___frame_counter.html">XAxiVdma_FrameCounter</a> *CfgPtr)</td></tr>
<tr class="separator:gabb2cecf1628ce8f7b42ffca3608bdf70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf331929e09bf1454dc2835b6ecc4ff30"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gaf331929e09bf1454dc2835b6ecc4ff30">XAxiVdma_SetFrmStore</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u8 FrmStoreNum, u16 Direction)</td></tr>
<tr class="separator:gaf331929e09bf1454dc2835b6ecc4ff30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga83d55bee4a575b0fdd98d1013a26533e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga83d55bee4a575b0fdd98d1013a26533e">XAxiVdma_GetFrmStore</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u8 *FrmStoreNum, u16 Direction)</td></tr>
<tr class="separator:ga83d55bee4a575b0fdd98d1013a26533e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4d93d3dea2f117948c175371d983a0e1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga4d93d3dea2f117948c175371d983a0e1">XAxiVdma_GetDmaChannelErrors</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u16 Direction)</td></tr>
<tr class="separator:ga4d93d3dea2f117948c175371d983a0e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac01b1199d15a3a95cafb01f61dd1d0d3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gac01b1199d15a3a95cafb01f61dd1d0d3">XAxiVdma_ClearDmaChannelErrors</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u16 Direction, u32 ErrorMask)</td></tr>
<tr class="separator:gac01b1199d15a3a95cafb01f61dd1d0d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0188e06158c255eba62f52141cff5d84"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_axi_vdma___config.html">XAxiVdma_Config</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga0188e06158c255eba62f52141cff5d84">XAxiVdma_LookupConfig</a> (u16 DeviceId)</td></tr>
<tr class="separator:ga0188e06158c255eba62f52141cff5d84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4c687431dde198458fb4e42dff22c106"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga4c687431dde198458fb4e42dff22c106">XAxiVdma_IntrEnable</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u32 IntrType, u16 Direction)</td></tr>
<tr class="separator:ga4c687431dde198458fb4e42dff22c106"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaba9a0ebdb72696e24ccaa48e57802323"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gaba9a0ebdb72696e24ccaa48e57802323">XAxiVdma_IntrDisable</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u32 IntrType, u16 Direction)</td></tr>
<tr class="separator:gaba9a0ebdb72696e24ccaa48e57802323"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga90501638e7f1077232443f0a60b3b40d"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga90501638e7f1077232443f0a60b3b40d">XAxiVdma_IntrGetPending</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u16 Direction)</td></tr>
<tr class="separator:ga90501638e7f1077232443f0a60b3b40d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaba3bd6f623637f15e16176ea77213b3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gaaba3bd6f623637f15e16176ea77213b3">XAxiVdma_IntrClear</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u32 IntrType, u16 Direction)</td></tr>
<tr class="separator:gaaba3bd6f623637f15e16176ea77213b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2650d7820ff062709d027bff2934cf58"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga2650d7820ff062709d027bff2934cf58">XAxiVdma_MaskS2MMErrIntr</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u32 ErrorMask, u16 Direction)</td></tr>
<tr class="separator:ga2650d7820ff062709d027bff2934cf58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga60ceb86226e513a16d6776a97fcfa50f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga60ceb86226e513a16d6776a97fcfa50f">XAxiVdma_ReadIntrHandler</a> (void *InstancePtr)</td></tr>
<tr class="separator:ga60ceb86226e513a16d6776a97fcfa50f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaad76f2f6ab41e322ddcd240d2af8140d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gaad76f2f6ab41e322ddcd240d2af8140d">XAxiVdma_WriteIntrHandler</a> (void *InstancePtr)</td></tr>
<tr class="separator:gaad76f2f6ab41e322ddcd240d2af8140d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafd0477fae9534ebd2d2e15cc8885642d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gafd0477fae9534ebd2d2e15cc8885642d">XAxiVdma_SetCallBack</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr, u32 HandlerType, void *CallBackFunc, void *CallBackRef, u16 Direction)</td></tr>
<tr class="separator:gafd0477fae9534ebd2d2e15cc8885642d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga97041abec8a49ee091440012fec1f7ca"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga97041abec8a49ee091440012fec1f7ca">XAxiVdma_Selftest</a> (<a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *InstancePtr)</td></tr>
<tr class="separator:ga97041abec8a49ee091440012fec1f7ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga795e26fb85aa4140db060d731a19efeb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga795e26fb85aa4140db060d731a19efeb">XAxiVdma_ChannelInit</a> (XAxiVdma_Channel *Channel)</td></tr>
<tr class="separator:ga795e26fb85aa4140db060d731a19efeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9b0a1008f3e30f3f031763f108f76405"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga9b0a1008f3e30f3f031763f108f76405">XAxiVdma_ChannelResetNotDone</a> (XAxiVdma_Channel *Channel)</td></tr>
<tr class="separator:ga9b0a1008f3e30f3f031763f108f76405"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga96e2798de16d738f378458fa2b7b2f1c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga96e2798de16d738f378458fa2b7b2f1c">XAxiVdma_ChannelReset</a> (XAxiVdma_Channel *Channel)</td></tr>
<tr class="separator:ga96e2798de16d738f378458fa2b7b2f1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaf57ab476eb91e9f41b6d166d2b2d6bb"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gaaf57ab476eb91e9f41b6d166d2b2d6bb">XAxiVdma_ChannelIsBusy</a> (XAxiVdma_Channel *Channel)</td></tr>
<tr class="separator:gaaf57ab476eb91e9f41b6d166d2b2d6bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae429b7acc7449fcb805ae013528c9ba0"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gae429b7acc7449fcb805ae013528c9ba0">XAxiVdma_ChannelGetStatus</a> (XAxiVdma_Channel *Channel)</td></tr>
<tr class="separator:gae429b7acc7449fcb805ae013528c9ba0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga04f4bf5ac18661ceb9c1ef047949e3d8"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga04f4bf5ac18661ceb9c1ef047949e3d8">XAxiVdma_ChannelStartParking</a> (XAxiVdma_Channel *Channel)</td></tr>
<tr class="separator:ga04f4bf5ac18661ceb9c1ef047949e3d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacd5a402e30c5170d9dab22d16ff01336"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gacd5a402e30c5170d9dab22d16ff01336">XAxiVdma_ChannelStopParking</a> (XAxiVdma_Channel *Channel)</td></tr>
<tr class="separator:gacd5a402e30c5170d9dab22d16ff01336"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga771725985f20173546d5555fb8806a6c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga771725985f20173546d5555fb8806a6c">XAxiVdma_ChannelStartFrmCntEnable</a> (XAxiVdma_Channel *Channel)</td></tr>
<tr class="separator:ga771725985f20173546d5555fb8806a6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1703c6dcef193966f4f1db7e6e9e59ce"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga1703c6dcef193966f4f1db7e6e9e59ce">XAxiVdma_ChannelSetBdAddrs</a> (XAxiVdma_Channel *Channel, UINTPTR BdAddrPhys, UINTPTR BdAddrVirt)</td></tr>
<tr class="separator:ga1703c6dcef193966f4f1db7e6e9e59ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3b9c24a02c4b4f99d40820a647de811d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga3b9c24a02c4b4f99d40820a647de811d">XAxiVdma_ChannelStartTransfer</a> (XAxiVdma_Channel *Channel, XAxiVdma_ChannelSetup *ChannelCfgPtr)</td></tr>
<tr class="separator:ga3b9c24a02c4b4f99d40820a647de811d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga74ab4785d21c80a0d4501f0d985213e4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga74ab4785d21c80a0d4501f0d985213e4">XAxiVdma_ChannelConfig</a> (XAxiVdma_Channel *Channel, XAxiVdma_ChannelSetup *ChannelCfgPtr)</td></tr>
<tr class="separator:ga74ab4785d21c80a0d4501f0d985213e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga14da4fd85b6e6c8009479634bca8527a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga14da4fd85b6e6c8009479634bca8527a">XAxiVdma_ChannelSetBufferAddr</a> (XAxiVdma_Channel *Channel, UINTPTR *BufferAddrSet, int NumFrames)</td></tr>
<tr class="separator:ga14da4fd85b6e6c8009479634bca8527a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga91cec5aee2b7126eb128169ddd2b4b4f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga91cec5aee2b7126eb128169ddd2b4b4f">XAxiVdma_ChannelStart</a> (XAxiVdma_Channel *Channel)</td></tr>
<tr class="separator:ga91cec5aee2b7126eb128169ddd2b4b4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga12bb1b451a69ecfc70f55d4fbf7257b0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga12bb1b451a69ecfc70f55d4fbf7257b0">XAxiVdma_ChannelStop</a> (XAxiVdma_Channel *Channel)</td></tr>
<tr class="separator:ga12bb1b451a69ecfc70f55d4fbf7257b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga13807c40f1f871a6b2f7cbde9eeab9a8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga13807c40f1f871a6b2f7cbde9eeab9a8">XAxiVdma_ChannelRegisterDump</a> (XAxiVdma_Channel *Channel)</td></tr>
<tr class="separator:ga13807c40f1f871a6b2f7cbde9eeab9a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga524861abb42dc3da2ed14d5932a3bb5b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga524861abb42dc3da2ed14d5932a3bb5b">XAxiVdma_ChannelSetFrmCnt</a> (XAxiVdma_Channel *Channel, u8 FrmCnt, u8 DlyCnt)</td></tr>
<tr class="separator:ga524861abb42dc3da2ed14d5932a3bb5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3e90ef720feb2a974511d7e2889a2198"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga3e90ef720feb2a974511d7e2889a2198">XAxiVdma_ChannelGetFrmCnt</a> (XAxiVdma_Channel *Channel, u8 *FrmCnt, u8 *DlyCnt)</td></tr>
<tr class="separator:ga3e90ef720feb2a974511d7e2889a2198"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga64d6b39bc9e900efe9f14c9961f4da24"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga64d6b39bc9e900efe9f14c9961f4da24">XAxiVdma_ChannelEnableIntr</a> (XAxiVdma_Channel *Channel, u32 IntrType)</td></tr>
<tr class="separator:ga64d6b39bc9e900efe9f14c9961f4da24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2daa8c45a82867bedf786957b4154cdc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga2daa8c45a82867bedf786957b4154cdc">XAxiVdma_ChannelDisableIntr</a> (XAxiVdma_Channel *Channel, u32 IntrType)</td></tr>
<tr class="separator:ga2daa8c45a82867bedf786957b4154cdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga361297a60672ab2552754d8a58d3f7ab"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga361297a60672ab2552754d8a58d3f7ab">XAxiVdma_ChannelGetPendingIntr</a> (XAxiVdma_Channel *Channel)</td></tr>
<tr class="separator:ga361297a60672ab2552754d8a58d3f7ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7a8c557bce703f572d4e2dd9e362f489"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga7a8c557bce703f572d4e2dd9e362f489">XAxiVdma_ChannelIntrClear</a> (XAxiVdma_Channel *Channel, u32 IntrType)</td></tr>
<tr class="separator:ga7a8c557bce703f572d4e2dd9e362f489"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaccc8d62d87870cb43c048938e405d4e6"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gaccc8d62d87870cb43c048938e405d4e6">XAxiVdma_ChannelGetEnabledIntr</a> (XAxiVdma_Channel *Channel)</td></tr>
<tr class="separator:gaccc8d62d87870cb43c048938e405d4e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:gaea84e7c0f6497813f1989af6ae6cbf70"><td class="memItemLeft" align="right" valign="top">UINTPTR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#gaea84e7c0f6497813f1989af6ae6cbf70">XAxiVdma_DmaSetup::FrameStoreStartAddr</a> [<a class="el" href="group__axivdma__v6__0.html#ga74cbf8945ca6cf9175bac9d7ad21a1bf">XAXIVDMA_MAX_FRAMESTORE</a>]</td></tr>
<tr class="separator:gaea84e7c0f6497813f1989af6ae6cbf70"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Buffer Descriptor Alignment</h2></td></tr>
<tr class="memitem:ga74cbf8945ca6cf9175bac9d7ad21a1bf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axivdma__v6__0.html#ga74cbf8945ca6cf9175bac9d7ad21a1bf">XAXIVDMA_MAX_FRAMESTORE</a>&#160;&#160;&#160;32</td></tr>
<tr class="separator:ga74cbf8945ca6cf9175bac9d7ad21a1bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="ga80f15b7cc612ff34dfa70ef2a5283fbd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_BD_BYTES_TO_CLEAR&#160;&#160;&#160;20</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Skip next ptr when clearing. </p>

</div>
</div>
<a class="anchor" id="gae76e8ca3b5117820ba1a23dab5e7a8e4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_BD_HSIZE_OFFSET&#160;&#160;&#160;0x14</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Horizontal size. </p>

</div>
</div>
<a class="anchor" id="gab253772ebf384b0e4962efafa11916fb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_BD_HW_NUM_BYTES&#160;&#160;&#160;28</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Number of bytes hw used. </p>

</div>
</div>
<a class="anchor" id="ga6f1b98d0a6280da333bc1a97adea974e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_BD_MINIMUM_ALIGNMENT&#160;&#160;&#160;0x20</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Minimum byte alignment requirement for descriptors. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#gab14c0b0487aeb3347b289eb58453e75d">XAxiVdma_SetBdAddrs()</a>.</p>

</div>
</div>
<a class="anchor" id="gad0a3a99c4177ed92eda1616fca2fcfb1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_BD_MINIMUM_ALIGNMENT_WD&#160;&#160;&#160;0x8</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Minimum word alignment requirement for descriptors. </p>

</div>
</div>
<a class="anchor" id="gaf78dbbcc98154cea4b2447f6c84bc3f4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_BD_NDESC_OFFSET&#160;&#160;&#160;0x00</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Next descriptor pointer. </p>

</div>
</div>
<a class="anchor" id="gaf1af4c3afa712d97d3f1af8153c9fb48"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_BD_NUM_WORDS&#160;&#160;&#160;7</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Total number of words for one BD. </p>

</div>
</div>
<a class="anchor" id="ga304b699c1cacbc7fe6f13b3c8f1e2b2f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_BD_START_ADDR_OFFSET&#160;&#160;&#160;0x08</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Start address. </p>

</div>
</div>
<a class="anchor" id="ga260f7451d08e9e3afa7108a5af67e838"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_BD_STRIDE_OFFSET&#160;&#160;&#160;0x18</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Stride size. </p>

</div>
</div>
<a class="anchor" id="gaf5da523f9ccd58f988968f7cc10b23e1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_BD_VSIZE_OFFSET&#160;&#160;&#160;0x10</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Vertical size. </p>

</div>
</div>
<a class="anchor" id="gad1bc694180b959ab0794ac6c4468a8ba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_BUFTHRES_OFFSET&#160;&#160;&#160;0x0000001C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Line Buffer Thres. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga741b4b1607c2ee71a3be16ddd8300656">XAxiVdma_SetLineBufThreshold()</a>.</p>

</div>
</div>
<a class="anchor" id="gac6d688599e8a9ffdf9c45bd7789f58cc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_CDESC_CURBD_MASK&#160;&#160;&#160;0xFFFFFFE0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>BD now working on. </p>

</div>
</div>
<a class="anchor" id="ga36d711874a8831f2b134a377488aefd2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_CDESC_OFFSET&#160;&#160;&#160;0x00000008</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Current descriptor pointer. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga13807c40f1f871a6b2f7cbde9eeab9a8">XAxiVdma_ChannelRegisterDump()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga91cec5aee2b7126eb128169ddd2b4b4f">XAxiVdma_ChannelStart()</a>.</p>

</div>
</div>
<a class="anchor" id="ga001373abfc5971ca63943b4088f58e60"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_CHAN_FSYNC&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8h.html">xaxivdma.h</a>&gt;</code></p>

<p>Frame Sync Source Selection. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#gaa3376589f8781eec1f0d619e1a0d3078">XAxiVdma_FsyncSrcSelect()</a>.</p>

</div>
</div>
<a class="anchor" id="gaaf3790410e85baac4ef181f1b77c8cdf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAxiVdma_ChannelHiFrmAddrDisable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">Channel</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__channel_8c.html">xaxivdma_channel.c</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line">{ <a class="code" href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">\</a></div>
<div class="line"><a class="code" href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">	XAxiVdma_WriteReg</a>(Channel-&gt;ChanBase, \</div>
<div class="line">                <a class="code" href="group__axivdma__v6__0.html#ga8d67525132073b0a56a57233c9038c8a">XAXIVDMA_HI_FRMBUF_OFFSET</a>, (<a class="code" href="group__axivdma__v6__0.html#gad0d12f32fff3037d4b1316350e02fef6">XAXIVDMA_REGINDEX_MASK</a> &gt;&gt; 1)); \</div>
<div class="line">}</div>
<div class="ttc" id="group__axivdma__v6__0_html_gad0d12f32fff3037d4b1316350e02fef6"><div class="ttname"><a href="group__axivdma__v6__0.html#gad0d12f32fff3037d4b1316350e02fef6">XAXIVDMA_REGINDEX_MASK</a></div><div class="ttdeci">#define XAXIVDMA_REGINDEX_MASK</div><div class="ttdoc">Register Index. </div><div class="ttdef"><b>Definition:</b> xaxivdma_hw.h:227</div></div>
<div class="ttc" id="group__axivdma__v6__0_html_gaaa7bae0ada2e94f563704a8ae4cabfde"><div class="ttname"><a href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">XAxiVdma_WriteReg</a></div><div class="ttdeci">#define XAxiVdma_WriteReg(BaseAddress, RegOffset, Data)                </div><div class="ttdoc">Write the given register. </div><div class="ttdef"><b>Definition:</b> xaxivdma_hw.h:377</div></div>
<div class="ttc" id="group__axivdma__v6__0_html_ga8d67525132073b0a56a57233c9038c8a"><div class="ttname"><a href="group__axivdma__v6__0.html#ga8d67525132073b0a56a57233c9038c8a">XAXIVDMA_HI_FRMBUF_OFFSET</a></div><div class="ttdeci">#define XAXIVDMA_HI_FRMBUF_OFFSET</div><div class="ttdoc">32 FrameBuf Sel </div><div class="ttdef"><b>Definition:</b> xaxivdma_hw.h:148</div></div>
</div><!-- fragment -->
<p>Set the channel to disable access higher Frame Buffer Addresses (SG=0) </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>is the pointer to the channel to work on </td></tr>
  </table>
  </dd>
</dl>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga14da4fd85b6e6c8009479634bca8527a">XAxiVdma_ChannelSetBufferAddr()</a>.</p>

</div>
</div>
<a class="anchor" id="gac1022ff84a093476cff8499bc4bbaae2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAxiVdma_ChannelHiFrmAddrEnable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">Channel</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__channel_8c.html">xaxivdma_channel.c</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line">{ <a class="code" href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">\</a></div>
<div class="line"><a class="code" href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">	XAxiVdma_WriteReg</a>(Channel-&gt;ChanBase, \</div>
<div class="line">                        <a class="code" href="group__axivdma__v6__0.html#ga8d67525132073b0a56a57233c9038c8a">XAXIVDMA_HI_FRMBUF_OFFSET</a>, <a class="code" href="group__axivdma__v6__0.html#gad0d12f32fff3037d4b1316350e02fef6">XAXIVDMA_REGINDEX_MASK</a>); \</div>
<div class="line">}</div>
<div class="ttc" id="group__axivdma__v6__0_html_gad0d12f32fff3037d4b1316350e02fef6"><div class="ttname"><a href="group__axivdma__v6__0.html#gad0d12f32fff3037d4b1316350e02fef6">XAXIVDMA_REGINDEX_MASK</a></div><div class="ttdeci">#define XAXIVDMA_REGINDEX_MASK</div><div class="ttdoc">Register Index. </div><div class="ttdef"><b>Definition:</b> xaxivdma_hw.h:227</div></div>
<div class="ttc" id="group__axivdma__v6__0_html_gaaa7bae0ada2e94f563704a8ae4cabfde"><div class="ttname"><a href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">XAxiVdma_WriteReg</a></div><div class="ttdeci">#define XAxiVdma_WriteReg(BaseAddress, RegOffset, Data)                </div><div class="ttdoc">Write the given register. </div><div class="ttdef"><b>Definition:</b> xaxivdma_hw.h:377</div></div>
<div class="ttc" id="group__axivdma__v6__0_html_ga8d67525132073b0a56a57233c9038c8a"><div class="ttname"><a href="group__axivdma__v6__0.html#ga8d67525132073b0a56a57233c9038c8a">XAXIVDMA_HI_FRMBUF_OFFSET</a></div><div class="ttdeci">#define XAXIVDMA_HI_FRMBUF_OFFSET</div><div class="ttdoc">32 FrameBuf Sel </div><div class="ttdef"><b>Definition:</b> xaxivdma_hw.h:148</div></div>
</div><!-- fragment -->
<p>Set the channel to enable access to higher Frame Buffer Addresses (SG=0) </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>is the pointer to the channel to work on </td></tr>
  </table>
  </dd>
</dl>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga14da4fd85b6e6c8009479634bca8527a">XAxiVdma_ChannelSetBufferAddr()</a>.</p>

</div>
</div>
<a class="anchor" id="gabfed305b44e791eaae8142ab94bd0ba9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_CR_FRMCNT_EN_MASK&#160;&#160;&#160;0x00000010</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Frame count enable. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga74ab4785d21c80a0d4501f0d985213e4">XAxiVdma_ChannelConfig()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga771725985f20173546d5555fb8806a6c">XAxiVdma_ChannelStartFrmCntEnable()</a>.</p>

</div>
</div>
<a class="anchor" id="ga7af6342cb5f43fa2036b3fbc8be1a082"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_CR_FSYNC_SRC_MASK&#160;&#160;&#160;0x00000060</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Fsync Source Select. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#gaa3376589f8781eec1f0d619e1a0d3078">XAxiVdma_FsyncSrcSelect()</a>.</p>

</div>
</div>
<a class="anchor" id="ga627a79cc1c66dfbd98783d7f053fdd36"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_CR_GENLCK_RPT_MASK&#160;&#160;&#160;0x00008000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>GenLock Repeat. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga74ab4785d21c80a0d4501f0d985213e4">XAxiVdma_ChannelConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="gac2bf28150cc3fc0d8cd0fceeedf60554"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_CR_GENLCK_SRC_MASK&#160;&#160;&#160;0x00000080</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Genlock Source Select. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#gacf7ed6b0ef406b80e49ff25634f6d5f1">XAxiVdma_GenLockSourceSelect()</a>.</p>

</div>
</div>
<a class="anchor" id="gadb4ad98d2088b8488c6ec4e519449e36"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_CR_OFFSET&#160;&#160;&#160;0x00000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Channel control. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga74ab4785d21c80a0d4501f0d985213e4">XAxiVdma_ChannelConfig()</a>, <a class="el" href="group__axivdma__v6__0.html#ga2daa8c45a82867bedf786957b4154cdc">XAxiVdma_ChannelDisableIntr()</a>, <a class="el" href="group__axivdma__v6__0.html#ga64d6b39bc9e900efe9f14c9961f4da24">XAxiVdma_ChannelEnableIntr()</a>, <a class="el" href="group__axivdma__v6__0.html#gaccc8d62d87870cb43c048938e405d4e6">XAxiVdma_ChannelGetEnabledIntr()</a>, <a class="el" href="group__axivdma__v6__0.html#ga3e90ef720feb2a974511d7e2889a2198">XAxiVdma_ChannelGetFrmCnt()</a>, <a class="el" href="group__axivdma__v6__0.html#ga13807c40f1f871a6b2f7cbde9eeab9a8">XAxiVdma_ChannelRegisterDump()</a>, <a class="el" href="group__axivdma__v6__0.html#ga96e2798de16d738f378458fa2b7b2f1c">XAxiVdma_ChannelReset()</a>, <a class="el" href="group__axivdma__v6__0.html#ga9b0a1008f3e30f3f031763f108f76405">XAxiVdma_ChannelResetNotDone()</a>, <a class="el" href="group__axivdma__v6__0.html#ga524861abb42dc3da2ed14d5932a3bb5b">XAxiVdma_ChannelSetFrmCnt()</a>, <a class="el" href="group__axivdma__v6__0.html#ga91cec5aee2b7126eb128169ddd2b4b4f">XAxiVdma_ChannelStart()</a>, <a class="el" href="group__axivdma__v6__0.html#ga771725985f20173546d5555fb8806a6c">XAxiVdma_ChannelStartFrmCntEnable()</a>, <a class="el" href="group__axivdma__v6__0.html#ga04f4bf5ac18661ceb9c1ef047949e3d8">XAxiVdma_ChannelStartParking()</a>, <a class="el" href="group__axivdma__v6__0.html#ga12bb1b451a69ecfc70f55d4fbf7257b0">XAxiVdma_ChannelStop()</a>, <a class="el" href="group__axivdma__v6__0.html#gacd5a402e30c5170d9dab22d16ff01336">XAxiVdma_ChannelStopParking()</a>, <a class="el" href="group__axivdma__v6__0.html#gaa3376589f8781eec1f0d619e1a0d3078">XAxiVdma_FsyncSrcSelect()</a>, and <a class="el" href="group__axivdma__v6__0.html#gacf7ed6b0ef406b80e49ff25634f6d5f1">XAxiVdma_GenLockSourceSelect()</a>.</p>

</div>
</div>
<a class="anchor" id="gaa5247e7518945ca4123cff1a2f2d8476"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_CR_RD_PTR_MASK&#160;&#160;&#160;0x00000F00</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Read pointer number. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga74ab4785d21c80a0d4501f0d985213e4">XAxiVdma_ChannelConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="gafe377bb760c2aa781930960549690b87"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_CR_RD_PTR_SHIFT&#160;&#160;&#160;8</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Shift for read pointer number. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga74ab4785d21c80a0d4501f0d985213e4">XAxiVdma_ChannelConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="gaacbafb1fba1bc73bd5ed95b06a5cb4f5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_CR_RESET_MASK&#160;&#160;&#160;0x00000004</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Reset channel. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga96e2798de16d738f378458fa2b7b2f1c">XAxiVdma_ChannelReset()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga9b0a1008f3e30f3f031763f108f76405">XAxiVdma_ChannelResetNotDone()</a>.</p>

</div>
</div>
<a class="anchor" id="gaf6165b2a5668ffbfe3320c83f1a3ffaa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_CR_RUNSTOP_MASK&#160;&#160;&#160;0x00000001</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Start/stop DMA channel. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga91cec5aee2b7126eb128169ddd2b4b4f">XAxiVdma_ChannelStart()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga12bb1b451a69ecfc70f55d4fbf7257b0">XAxiVdma_ChannelStop()</a>.</p>

</div>
</div>
<a class="anchor" id="gac70dd163b5142c5211e349e16f980e11"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_CR_SYNC_EN_MASK&#160;&#160;&#160;0x00000008</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Gen-lock enable. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga74ab4785d21c80a0d4501f0d985213e4">XAxiVdma_ChannelConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="ga6bda812084d25429b793e441c698298d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_CR_TAIL_EN_MASK&#160;&#160;&#160;0x00000002</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Tail ptr enable or Park. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga74ab4785d21c80a0d4501f0d985213e4">XAxiVdma_ChannelConfig()</a>, <a class="el" href="group__axivdma__v6__0.html#ga04f4bf5ac18661ceb9c1ef047949e3d8">XAxiVdma_ChannelStartParking()</a>, and <a class="el" href="group__axivdma__v6__0.html#gacd5a402e30c5170d9dab22d16ff01336">XAxiVdma_ChannelStopParking()</a>.</p>

</div>
</div>
<a class="anchor" id="gac556991d9307f211f770d15a117ee937"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_DELAY_MASK&#160;&#160;&#160;0xFF000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Delay timeout counter. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga3e90ef720feb2a974511d7e2889a2198">XAxiVdma_ChannelGetFrmCnt()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga524861abb42dc3da2ed14d5932a3bb5b">XAxiVdma_ChannelSetFrmCnt()</a>.</p>

</div>
</div>
<a class="anchor" id="gafa8a6604771dc02e3a96eb09ac16fcaa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_DEVICE_READY&#160;&#160;&#160;0x11111111</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8h.html">xaxivdma.h</a>&gt;</code></p>

<p>Flag to signal that device is ready to be used. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>, <a class="el" href="group__axivdma__v6__0.html#gabb2cecf1628ce8f7b42ffca3608bdf70">XAxiVdma_GetFrameCounter()</a>, <a class="el" href="group__axivdma__v6__0.html#gafd0477fae9534ebd2d2e15cc8885642d">XAxiVdma_SetCallBack()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaabe404c2a5c1483bc95be749c7540ba4">XAxiVdma_SetFrameCounter()</a>.</p>

</div>
</div>
<a class="anchor" id="gaef1fd25fb7d569716f06428a2cb252a6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_ENABLE_DBG_THRESHOLD_REG&#160;&#160;&#160;0x01</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8h.html">xaxivdma.h</a>&gt;</code></p>

<p>Debug Configuration Parameter Constants (C_ENABLE_DEBUG_INFO_*) </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga741b4b1607c2ee71a3be16ddd8300656">XAxiVdma_SetLineBufThreshold()</a>.</p>

</div>
</div>
<a class="anchor" id="gae49d9133e0ce94d33014c1277b1a4002"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_EXTERNAL_GENLOCK&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8h.html">xaxivdma.h</a>&gt;</code></p>

<p>GenLock Source Selection. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#gacf7ed6b0ef406b80e49ff25634f6d5f1">XAxiVdma_GenLockSourceSelect()</a>.</p>

</div>
</div>
<a class="anchor" id="ga7e274c9f02af4538043f757c3e224a91"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_FRM_MAX&#160;&#160;&#160;0xF</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>At most 16 frames. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga74ab4785d21c80a0d4501f0d985213e4">XAxiVdma_ChannelConfig()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaf99dd7738b98367397831df26433843a">XAxiVdma_StartParking()</a>.</p>

</div>
</div>
<a class="anchor" id="gaf4ab4ba9a0c2984efad7fefe195fe0ed"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_FRMCNT_MASK&#160;&#160;&#160;0x00FF0000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Frame counter. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga3e90ef720feb2a974511d7e2889a2198">XAxiVdma_ChannelGetFrmCnt()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga524861abb42dc3da2ed14d5932a3bb5b">XAxiVdma_ChannelSetFrmCnt()</a>.</p>

</div>
</div>
<a class="anchor" id="ga76abb6dc712998f6165b074dccc4670e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_FRMDLY_MASK&#160;&#160;&#160;0x0F000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Frame delay. </p>

</div>
</div>
<a class="anchor" id="gaecab8ebcc9f83abc6b88289fb11b9440"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_FRMDLY_MAX&#160;&#160;&#160;0xF</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Maximum frame delay. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga74ab4785d21c80a0d4501f0d985213e4">XAxiVdma_ChannelConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="ga266367de39275d3e11a96966a4039130"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_FRMDLY_SHIFT&#160;&#160;&#160;24</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Shift for frame delay. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga74ab4785d21c80a0d4501f0d985213e4">XAxiVdma_ChannelConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="gacc02fa25db65faceed9fd49ee88fb609"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_FRMSTORE_OFFSET&#160;&#160;&#160;0x00000018</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Frame Store. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga83d55bee4a575b0fdd98d1013a26533e">XAxiVdma_GetFrmStore()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaf331929e09bf1454dc2835b6ecc4ff30">XAxiVdma_SetFrmStore()</a>.</p>

</div>
</div>
<a class="anchor" id="ga36e2b755a604e36829faf28153035830"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_GENLOCK_MASTER&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8h.html">xaxivdma.h</a>&gt;</code></p>

<p>GenLock Mode Constants. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga74ab4785d21c80a0d4501f0d985213e4">XAxiVdma_ChannelConfig()</a>, and <a class="el" href="group__axivdma__v6__0.html#gacf7ed6b0ef406b80e49ff25634f6d5f1">XAxiVdma_GenLockSourceSelect()</a>.</p>

</div>
</div>
<a class="anchor" id="ga7ed954b5de3073f15b8e47c5736d627b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_HANDLER_ERROR&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8h.html">xaxivdma.h</a>&gt;</code></p>

<p>Error Interrupt Type. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#gafd0477fae9534ebd2d2e15cc8885642d">XAxiVdma_SetCallBack()</a>.</p>

</div>
</div>
<a class="anchor" id="ga4c57db0180eafe041035a8d4781cb2b9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_HANDLER_GENERAL&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8h.html">xaxivdma.h</a>&gt;</code></p>

<p>Interrupt type for setting up callback. </p>
<p>Non-Error Interrupt Type </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#gafd0477fae9534ebd2d2e15cc8885642d">XAxiVdma_SetCallBack()</a>.</p>

</div>
</div>
<a class="anchor" id="ga8d67525132073b0a56a57233c9038c8a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_HI_FRMBUF_OFFSET&#160;&#160;&#160;0x00000014</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>32 FrameBuf Sel </p>

</div>
</div>
<a class="anchor" id="ga3fbf84b20d6e4639e658a99c03a300b6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_HSIZE_MASK&#160;&#160;&#160;0x0000FFFF</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Horizontal size. </p>

</div>
</div>
<a class="anchor" id="gaa1752ade8b38bc29a8528859e634a38d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_HSIZE_OFFSET&#160;&#160;&#160;0x00000004</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Horizontal size. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga74ab4785d21c80a0d4501f0d985213e4">XAxiVdma_ChannelConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="ga6e80967b83e9f0f65dfde6c92008f0d2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_IXR_ALL_MASK&#160;&#160;&#160;0x00007000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>All interrupts. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga2daa8c45a82867bedf786957b4154cdc">XAxiVdma_ChannelDisableIntr()</a>, <a class="el" href="group__axivdma__v6__0.html#ga64d6b39bc9e900efe9f14c9961f4da24">XAxiVdma_ChannelEnableIntr()</a>, <a class="el" href="group__axivdma__v6__0.html#gaccc8d62d87870cb43c048938e405d4e6">XAxiVdma_ChannelGetEnabledIntr()</a>, <a class="el" href="group__axivdma__v6__0.html#ga361297a60672ab2552754d8a58d3f7ab">XAxiVdma_ChannelGetPendingIntr()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga7a8c557bce703f572d4e2dd9e362f489">XAxiVdma_ChannelIntrClear()</a>.</p>

</div>
</div>
<a class="anchor" id="gaed70612ee26f1faf7699e301afda8048"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_IXR_COMPLETION_MASK&#160;&#160;&#160;0x00003000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Completion interrupts. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga60ceb86226e513a16d6776a97fcfa50f">XAxiVdma_ReadIntrHandler()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaad76f2f6ab41e322ddcd240d2af8140d">XAxiVdma_WriteIntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="gad12fc5d30ab28f345d19e4034aea746e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_IXR_DELAYCNT_MASK&#160;&#160;&#160;0x00002000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Delay interrupt. </p>

</div>
</div>
<a class="anchor" id="ga88ccc9e37f16a1b4ecffd5e09a4c8cfb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_IXR_ERROR_MASK&#160;&#160;&#160;0x00004000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Error interrupt. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga60ceb86226e513a16d6776a97fcfa50f">XAxiVdma_ReadIntrHandler()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaad76f2f6ab41e322ddcd240d2af8140d">XAxiVdma_WriteIntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ga2f25fa1f54f8b95752ba1d303fc4a6b6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_IXR_FRMCNT_MASK&#160;&#160;&#160;0x00001000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Frame count intr. </p>

</div>
</div>
<a class="anchor" id="ga74cbf8945ca6cf9175bac9d7ad21a1bf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_MAX_FRAMESTORE&#160;&#160;&#160;32</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Maximum number of the frame store. </p>
<p>Maximum # of the frame store </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga14da4fd85b6e6c8009479634bca8527a">XAxiVdma_ChannelSetBufferAddr()</a>.</p>

</div>
</div>
<a class="anchor" id="gaed6082e7154b873435b6e0cbd6f7bf03"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_MAX_FRAMESTORE_64&#160;&#160;&#160;16</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Maximum # of the frame store for 64 bit. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga14da4fd85b6e6c8009479634bca8527a">XAxiVdma_ChannelSetBufferAddr()</a>.</p>

</div>
</div>
<a class="anchor" id="gaebbb18b57a2957ab4a90b54c4f557fea"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_MISMATCH_ERROR&#160;&#160;&#160;0x80000010</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Frame/Line Mismatch Error This is a typical DMA Internal Error, which on detection doesnt require a reset (as opposed to other errors). </p>
<p>So a MSB bit is set to identify it, from other DMA Internal Errors. </p>

</div>
</div>
<a class="anchor" id="ga6d94757e1f4835c0975b13f0ab543f8b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_MM2S_ADDR_OFFSET&#160;&#160;&#160;0x00000050</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>MM2S channel Addr. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga311f4eadce692b10effb8cd492b2120c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_PARKPTR_OFFSET&#160;&#160;&#160;0x00000028</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Park Pointer Register. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga74ab4785d21c80a0d4501f0d985213e4">XAxiVdma_ChannelConfig()</a>, <a class="el" href="group__axivdma__v6__0.html#ga9769479907cda3ef95ff1ed394de4629">XAxiVdma_CurrFrameStore()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaf99dd7738b98367397831df26433843a">XAxiVdma_StartParking()</a>.</p>

</div>
</div>
<a class="anchor" id="ga39001a9b8ae972fc53463961ca423ac1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_PARKPTR_READREF_MASK&#160;&#160;&#160;0x0000001F</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Read frame to park on. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga74ab4785d21c80a0d4501f0d985213e4">XAxiVdma_ChannelConfig()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaf99dd7738b98367397831df26433843a">XAxiVdma_StartParking()</a>.</p>

</div>
</div>
<a class="anchor" id="ga3326b79c706c90993eea1033edc5f304"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_PARKPTR_READSTR_MASK&#160;&#160;&#160;0x001F0000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Current read frame. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga9769479907cda3ef95ff1ed394de4629">XAxiVdma_CurrFrameStore()</a>.</p>

</div>
</div>
<a class="anchor" id="ga9656852c690e3a7e5253fe67b87f10cf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_PARKPTR_WRTREF_MASK&#160;&#160;&#160;0x00001F00</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Write frame to park on. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga74ab4785d21c80a0d4501f0d985213e4">XAxiVdma_ChannelConfig()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaf99dd7738b98367397831df26433843a">XAxiVdma_StartParking()</a>.</p>

</div>
</div>
<a class="anchor" id="gafdf5ab4a765d1ed93a697b276d832b7d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_PARKPTR_WRTSTR_MASK&#160;&#160;&#160;0x1F000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Current write frame. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga9769479907cda3ef95ff1ed394de4629">XAxiVdma_CurrFrameStore()</a>.</p>

</div>
</div>
<a class="anchor" id="ga5fa27b3ce66d947167262fe918fb5373"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_READ&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8h.html">xaxivdma.h</a>&gt;</code></p>

<p>DMA transfer from memory. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>, <a class="el" href="group__axivdma__v6__0.html#ga9769479907cda3ef95ff1ed394de4629">XAxiVdma_CurrFrameStore()</a>, <a class="el" href="group__axivdma__v6__0.html#gacf7ed6b0ef406b80e49ff25634f6d5f1">XAxiVdma_GenLockSourceSelect()</a>, <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>, <a class="el" href="group__axivdma__v6__0.html#gabb2cecf1628ce8f7b42ffca3608bdf70">XAxiVdma_GetFrameCounter()</a>, <a class="el" href="group__axivdma__v6__0.html#ga60ceb86226e513a16d6776a97fcfa50f">XAxiVdma_ReadIntrHandler()</a>, <a class="el" href="group__axivdma__v6__0.html#ga97041abec8a49ee091440012fec1f7ca">XAxiVdma_Selftest()</a>, <a class="el" href="group__axivdma__v6__0.html#gafd0477fae9534ebd2d2e15cc8885642d">XAxiVdma_SetCallBack()</a>, <a class="el" href="group__axivdma__v6__0.html#gaabe404c2a5c1483bc95be749c7540ba4">XAxiVdma_SetFrameCounter()</a>, <a class="el" href="group__axivdma__v6__0.html#gaf99dd7738b98367397831df26433843a">XAxiVdma_StartParking()</a>, and <a class="el" href="group__axivdma__v6__0.html#gab2646b6aeea2ff64c4b42319ffb49804">XAxiVdma_StartReadFrame()</a>.</p>

</div>
</div>
<a class="anchor" id="gaf573ed8e7f474ba68daa5e8070b976a0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAxiVdma_ReadReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">RegOffset&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;XAxiVdma_In32((BaseAddress) + (RegOffset))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Read the given register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the base address of the device </td></tr>
    <tr><td class="paramname">RegOffset</td><td>is the register offset to be read</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The 32-bit value of the register</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: u32 <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0" title="Read the given register. ">XAxiVdma_ReadReg(u32 BaseAddress, u32 RegOffset)</a> </dd></dl>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>, <a class="el" href="group__axivdma__v6__0.html#ga74ab4785d21c80a0d4501f0d985213e4">XAxiVdma_ChannelConfig()</a>, <a class="el" href="group__axivdma__v6__0.html#ga2daa8c45a82867bedf786957b4154cdc">XAxiVdma_ChannelDisableIntr()</a>, <a class="el" href="group__axivdma__v6__0.html#ga64d6b39bc9e900efe9f14c9961f4da24">XAxiVdma_ChannelEnableIntr()</a>, <a class="el" href="group__axivdma__v6__0.html#gaccc8d62d87870cb43c048938e405d4e6">XAxiVdma_ChannelGetEnabledIntr()</a>, <a class="el" href="group__axivdma__v6__0.html#ga3e90ef720feb2a974511d7e2889a2198">XAxiVdma_ChannelGetFrmCnt()</a>, <a class="el" href="group__axivdma__v6__0.html#ga361297a60672ab2552754d8a58d3f7ab">XAxiVdma_ChannelGetPendingIntr()</a>, <a class="el" href="group__axivdma__v6__0.html#gae429b7acc7449fcb805ae013528c9ba0">XAxiVdma_ChannelGetStatus()</a>, <a class="el" href="group__axivdma__v6__0.html#gaaf57ab476eb91e9f41b6d166d2b2d6bb">XAxiVdma_ChannelIsBusy()</a>, <a class="el" href="group__axivdma__v6__0.html#ga13807c40f1f871a6b2f7cbde9eeab9a8">XAxiVdma_ChannelRegisterDump()</a>, <a class="el" href="group__axivdma__v6__0.html#ga9b0a1008f3e30f3f031763f108f76405">XAxiVdma_ChannelResetNotDone()</a>, <a class="el" href="group__axivdma__v6__0.html#ga524861abb42dc3da2ed14d5932a3bb5b">XAxiVdma_ChannelSetFrmCnt()</a>, <a class="el" href="group__axivdma__v6__0.html#ga91cec5aee2b7126eb128169ddd2b4b4f">XAxiVdma_ChannelStart()</a>, <a class="el" href="group__axivdma__v6__0.html#ga771725985f20173546d5555fb8806a6c">XAxiVdma_ChannelStartFrmCntEnable()</a>, <a class="el" href="group__axivdma__v6__0.html#ga04f4bf5ac18661ceb9c1ef047949e3d8">XAxiVdma_ChannelStartParking()</a>, <a class="el" href="group__axivdma__v6__0.html#ga12bb1b451a69ecfc70f55d4fbf7257b0">XAxiVdma_ChannelStop()</a>, <a class="el" href="group__axivdma__v6__0.html#gacd5a402e30c5170d9dab22d16ff01336">XAxiVdma_ChannelStopParking()</a>, <a class="el" href="group__axivdma__v6__0.html#ga9769479907cda3ef95ff1ed394de4629">XAxiVdma_CurrFrameStore()</a>, <a class="el" href="group__axivdma__v6__0.html#gaa3376589f8781eec1f0d619e1a0d3078">XAxiVdma_FsyncSrcSelect()</a>, <a class="el" href="group__axivdma__v6__0.html#gacf7ed6b0ef406b80e49ff25634f6d5f1">XAxiVdma_GenLockSourceSelect()</a>, <a class="el" href="group__axivdma__v6__0.html#ga83d55bee4a575b0fdd98d1013a26533e">XAxiVdma_GetFrmStore()</a>, <a class="el" href="group__axivdma__v6__0.html#ga24f182cf8678e4df6e0e2b19e2f50620">XAxiVdma_GetVersion()</a>, <a class="el" href="group__axivdma__v6__0.html#ga741b4b1607c2ee71a3be16ddd8300656">XAxiVdma_SetLineBufThreshold()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaf99dd7738b98367397831df26433843a">XAxiVdma_StartParking()</a>.</p>

</div>
</div>
<a class="anchor" id="gad0d12f32fff3037d4b1316350e02fef6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_REGINDEX_MASK&#160;&#160;&#160;0x00000001</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Register Index. </p>

</div>
</div>
<a class="anchor" id="gab97c05cd73a22a627177554199efb526"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_RX_OFFSET&#160;&#160;&#160;0x00000030</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>RX channel registers base. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga97041abec8a49ee091440012fec1f7ca">XAxiVdma_Selftest()</a>.</p>

</div>
</div>
<a class="anchor" id="ga8daae8241a3aeae54627939188febf71"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_S2MM_ADDR_OFFSET&#160;&#160;&#160;0x000000A0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>S2MM channel Addr. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gae3281565e12c47c4888e228ec6a59e3c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_S2MM_DMA_IRQ_MASK_OFFSET&#160;&#160;&#160;0x0000003C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>S2MM Err IRQ Mask. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga2650d7820ff062709d027bff2934cf58">XAxiVdma_MaskS2MMErrIntr()</a>.</p>

</div>
</div>
<a class="anchor" id="ga0ba0af99c40314b1288a6a95ba2ee688"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_S2MM_IRQ_ERR_ALL_MASK&#160;&#160;&#160;0x0000000F</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Masks all S2MM IRQ Errors. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga2650d7820ff062709d027bff2934cf58">XAxiVdma_MaskS2MMErrIntr()</a>.</p>

</div>
</div>
<a class="anchor" id="ga35e5cf93415d4b0f1973af8fca40bec6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_S2MM_IRQ_FSZLESS_SOF_ERLY_MASK&#160;&#160;&#160;0x00000001</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Masks S2MM IRQ FSize Less/SOF Early Error. </p>

</div>
</div>
<a class="anchor" id="ga19f83bb8bcb2f6535463bcd03f39552e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_S2MM_IRQ_FSZMORE_SOF_LATE_MASK&#160;&#160;&#160;0x00000004</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Masks S2MM IRQ FSize More/SOF Late Error. </p>

</div>
</div>
<a class="anchor" id="ga60eb583a54045686ff42ea1e93fd67dd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_S2MM_IRQ_LSZLESS_EOL_ERLY_MASK&#160;&#160;&#160;0x00000002</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Masks S2MM IRQ LSize Less/EOL Early Error. </p>

</div>
</div>
<a class="anchor" id="ga0deb90d1e246708ed32ed905d56894e9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_S2MM_IRQ_LSZMORE_EOL_LATE_MASK&#160;&#160;&#160;0x00000008</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Masks S2MM IRQ LSize More/EOL Late Error. </p>

</div>
</div>
<a class="anchor" id="ga9fe7dc9348c9a4aed7eb2f671e62dda7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_SR_ERR_ALL_MASK&#160;&#160;&#160;0x00000FF0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>All errors. </p>

</div>
</div>
<a class="anchor" id="gaafc34ba20bfb44a6132fb677b4a28d9d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_SR_ERR_DECODE_MASK&#160;&#160;&#160;0x00000040</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Datamover decode err. </p>

</div>
</div>
<a class="anchor" id="ga5e70b134baebf4f1a124700d8601325b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_SR_ERR_FSZ_LESS_MASK&#160;&#160;&#160;0x00000080</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>FSize Less Mismatch err. </p>

</div>
</div>
<a class="anchor" id="ga27f1501ec6a048b6afa3e66720d971e3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_SR_ERR_FSZ_MORE_MASK&#160;&#160;&#160;0x00000800</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>FSize More Mismatch err. </p>

</div>
</div>
<a class="anchor" id="ga73f14cc8e7e2905ed537d3848b31c23b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_SR_ERR_INTERNAL_MASK&#160;&#160;&#160;0x00000010</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Datamover internal err. </p>

</div>
</div>
<a class="anchor" id="ga8b94d44f1347a7c92370f63855015ba4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_SR_ERR_LSZ_LESS_MASK&#160;&#160;&#160;0x00000100</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>LSize Less Mismatch err. </p>

</div>
</div>
<a class="anchor" id="ga228552801c02459e8941f66b55aee2fe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_SR_ERR_SG_DEC_MASK&#160;&#160;&#160;0x00000400</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>SG decode err. </p>

</div>
</div>
<a class="anchor" id="ga30c9fca88a18c4bcde79ddf03cd6d240"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_SR_ERR_SG_SLV_MASK&#160;&#160;&#160;0x00000200</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>SG slave err. </p>

</div>
</div>
<a class="anchor" id="ga08d366ceff80640f727d34668680f7a0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_SR_ERR_SLAVE_MASK&#160;&#160;&#160;0x00000020</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Datamover slave err. </p>

</div>
</div>
<a class="anchor" id="ga950f0fc166fb91f145538984a3b3f29f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_SR_HALTED_MASK&#160;&#160;&#160;0x00000001</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>DMA channel halted. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#gaaf57ab476eb91e9f41b6d166d2b2d6bb">XAxiVdma_ChannelIsBusy()</a>.</p>

</div>
</div>
<a class="anchor" id="gad3ebc688ce8c9515277296cd7c9d9d68"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_SR_IDLE_MASK&#160;&#160;&#160;0x00000002</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>DMA channel idle. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#gaaf57ab476eb91e9f41b6d166d2b2d6bb">XAxiVdma_ChannelIsBusy()</a>.</p>

</div>
</div>
<a class="anchor" id="ga0617c0c161fd2d93690e2d3b0a0906b8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_SR_OFFSET&#160;&#160;&#160;0x00000004</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Status. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga361297a60672ab2552754d8a58d3f7ab">XAxiVdma_ChannelGetPendingIntr()</a>, <a class="el" href="group__axivdma__v6__0.html#gae429b7acc7449fcb805ae013528c9ba0">XAxiVdma_ChannelGetStatus()</a>, <a class="el" href="group__axivdma__v6__0.html#ga7a8c557bce703f572d4e2dd9e362f489">XAxiVdma_ChannelIntrClear()</a>, <a class="el" href="group__axivdma__v6__0.html#gaaf57ab476eb91e9f41b6d166d2b2d6bb">XAxiVdma_ChannelIsBusy()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga13807c40f1f871a6b2f7cbde9eeab9a8">XAxiVdma_ChannelRegisterDump()</a>.</p>

</div>
</div>
<a class="anchor" id="gaba552b4bc0c96fb9d76ef37e9fc34da7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_START_ADDR_LEN&#160;&#160;&#160;0x00000004</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Each entry is 4 bytes. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga14da4fd85b6e6c8009479634bca8527a">XAxiVdma_ChannelSetBufferAddr()</a>.</p>

</div>
</div>
<a class="anchor" id="ga83c97295f4a50d39cacbb32fa928ea95"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_START_ADDR_MSB_OFFSET&#160;&#160;&#160;0x00000010</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Start of address. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga14da4fd85b6e6c8009479634bca8527a">XAxiVdma_ChannelSetBufferAddr()</a>.</p>

</div>
</div>
<a class="anchor" id="ga73ce4a1f2caf365b8c54cd77827a29cc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_START_ADDR_OFFSET&#160;&#160;&#160;0x0000000C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Start of address. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga14da4fd85b6e6c8009479634bca8527a">XAxiVdma_ChannelSetBufferAddr()</a>.</p>

</div>
</div>
<a class="anchor" id="ga5e165469c0c5618932b44f17dcfa566b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_STRD_FRMDLY_OFFSET&#160;&#160;&#160;0x00000008</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Horizontal size. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga74ab4785d21c80a0d4501f0d985213e4">XAxiVdma_ChannelConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="gac73189f5e640fc37597a0559e67e7dce"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_STRIDE_MASK&#160;&#160;&#160;0x0000FFFF</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Stride size. </p>

</div>
</div>
<a class="anchor" id="gaa47b0fa02c5e8f984bc17bf18cd379ce"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_TDESC_CURBD_MASK&#160;&#160;&#160;0xFFFFFFE0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>BD to stop on. </p>

</div>
</div>
<a class="anchor" id="ga8a1e429317226b3d7a3e9ee29688c3ab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_TDESC_OFFSET&#160;&#160;&#160;0x00000010</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Tail descriptor pointer. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga13807c40f1f871a6b2f7cbde9eeab9a8">XAxiVdma_ChannelRegisterDump()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga91cec5aee2b7126eb128169ddd2b4b4f">XAxiVdma_ChannelStart()</a>.</p>

</div>
</div>
<a class="anchor" id="gae1497f30a25302cb0f4ec93a16a23100"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_TX_OFFSET&#160;&#160;&#160;0x00000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>TX channel registers base. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga97041abec8a49ee091440012fec1f7ca">XAxiVdma_Selftest()</a>.</p>

</div>
</div>
<a class="anchor" id="ga778f82c0f80720c8114b09dd840dd625"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_VERSION_MAJOR_MASK&#160;&#160;&#160;0xF0000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Major version. </p>

</div>
</div>
<a class="anchor" id="ga5d2a6902e976af18d7486fe12d45ba9b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_VERSION_MINOR_MASK&#160;&#160;&#160;0x0FF00000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Minor version. </p>

</div>
</div>
<a class="anchor" id="ga727fc3fe53b19cda302295ad25fe71a2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_VERSION_OFFSET&#160;&#160;&#160;0x0000002C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Version register. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga24f182cf8678e4df6e0e2b19e2f50620">XAxiVdma_GetVersion()</a>.</p>

</div>
</div>
<a class="anchor" id="gae651c29e871bbdd802cecc9fb45948b3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_VERSION_REV_MASK&#160;&#160;&#160;0x000F0000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Revision letter. </p>

</div>
</div>
<a class="anchor" id="ga8394a54d3cfaf11b3b824059d760d5d8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_VSIZE_MASK&#160;&#160;&#160;0x00001FFF</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Vertical size. </p>

</div>
</div>
<a class="anchor" id="ga4feada9ad41cf079a8c9b7c6aebfecff"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_VSIZE_OFFSET&#160;&#160;&#160;0x00000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Vertical size. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga91cec5aee2b7126eb128169ddd2b4b4f">XAxiVdma_ChannelStart()</a>.</p>

</div>
</div>
<a class="anchor" id="ga525d0fa8fc04a9dde871ab55cf6b227b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXIVDMA_WRITE&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8h.html">xaxivdma.h</a>&gt;</code></p>

<p>VDMA data transfer direction. </p>
<p>DMA transfer into memory </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>, <a class="el" href="group__axivdma__v6__0.html#ga74ab4785d21c80a0d4501f0d985213e4">XAxiVdma_ChannelConfig()</a>, <a class="el" href="group__axivdma__v6__0.html#ga9769479907cda3ef95ff1ed394de4629">XAxiVdma_CurrFrameStore()</a>, <a class="el" href="group__axivdma__v6__0.html#gaa3376589f8781eec1f0d619e1a0d3078">XAxiVdma_FsyncSrcSelect()</a>, <a class="el" href="group__axivdma__v6__0.html#gacf7ed6b0ef406b80e49ff25634f6d5f1">XAxiVdma_GenLockSourceSelect()</a>, <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>, <a class="el" href="group__axivdma__v6__0.html#gabb2cecf1628ce8f7b42ffca3608bdf70">XAxiVdma_GetFrameCounter()</a>, <a class="el" href="group__axivdma__v6__0.html#ga2650d7820ff062709d027bff2934cf58">XAxiVdma_MaskS2MMErrIntr()</a>, <a class="el" href="group__axivdma__v6__0.html#ga97041abec8a49ee091440012fec1f7ca">XAxiVdma_Selftest()</a>, <a class="el" href="group__axivdma__v6__0.html#gaabe404c2a5c1483bc95be749c7540ba4">XAxiVdma_SetFrameCounter()</a>, <a class="el" href="group__axivdma__v6__0.html#gaf99dd7738b98367397831df26433843a">XAxiVdma_StartParking()</a>, <a class="el" href="group__axivdma__v6__0.html#ga1dc126d885558e03cf06a4d9c05d5668">XAxiVdma_StartWriteFrame()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaad76f2f6ab41e322ddcd240d2af8140d">XAxiVdma_WriteIntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="gaaa7bae0ada2e94f563704a8ae4cabfde"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAxiVdma_WriteReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">RegOffset, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">Data&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;XAxiVdma_Out32((BaseAddress) + (RegOffset), (Data))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a>&gt;</code></p>

<p>Write the given register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the base address of the device </td></tr>
    <tr><td class="paramname">RegOffset</td><td>is the register offset to be written </td></tr>
    <tr><td class="paramname">Data</td><td>is the 32-bit value to write to the register</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde" title="Write the given register. ">XAxiVdma_WriteReg(u32 BaseAddress, u32 RegOffset, u32 Data)</a> </dd></dl>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga74ab4785d21c80a0d4501f0d985213e4">XAxiVdma_ChannelConfig()</a>, <a class="el" href="group__axivdma__v6__0.html#ga2daa8c45a82867bedf786957b4154cdc">XAxiVdma_ChannelDisableIntr()</a>, <a class="el" href="group__axivdma__v6__0.html#ga64d6b39bc9e900efe9f14c9961f4da24">XAxiVdma_ChannelEnableIntr()</a>, <a class="el" href="group__axivdma__v6__0.html#ga7a8c557bce703f572d4e2dd9e362f489">XAxiVdma_ChannelIntrClear()</a>, <a class="el" href="group__axivdma__v6__0.html#ga96e2798de16d738f378458fa2b7b2f1c">XAxiVdma_ChannelReset()</a>, <a class="el" href="group__axivdma__v6__0.html#ga14da4fd85b6e6c8009479634bca8527a">XAxiVdma_ChannelSetBufferAddr()</a>, <a class="el" href="group__axivdma__v6__0.html#ga524861abb42dc3da2ed14d5932a3bb5b">XAxiVdma_ChannelSetFrmCnt()</a>, <a class="el" href="group__axivdma__v6__0.html#ga91cec5aee2b7126eb128169ddd2b4b4f">XAxiVdma_ChannelStart()</a>, <a class="el" href="group__axivdma__v6__0.html#ga771725985f20173546d5555fb8806a6c">XAxiVdma_ChannelStartFrmCntEnable()</a>, <a class="el" href="group__axivdma__v6__0.html#ga04f4bf5ac18661ceb9c1ef047949e3d8">XAxiVdma_ChannelStartParking()</a>, <a class="el" href="group__axivdma__v6__0.html#ga12bb1b451a69ecfc70f55d4fbf7257b0">XAxiVdma_ChannelStop()</a>, <a class="el" href="group__axivdma__v6__0.html#gacd5a402e30c5170d9dab22d16ff01336">XAxiVdma_ChannelStopParking()</a>, <a class="el" href="group__axivdma__v6__0.html#gaa3376589f8781eec1f0d619e1a0d3078">XAxiVdma_FsyncSrcSelect()</a>, <a class="el" href="group__axivdma__v6__0.html#gacf7ed6b0ef406b80e49ff25634f6d5f1">XAxiVdma_GenLockSourceSelect()</a>, <a class="el" href="group__axivdma__v6__0.html#ga2650d7820ff062709d027bff2934cf58">XAxiVdma_MaskS2MMErrIntr()</a>, <a class="el" href="group__axivdma__v6__0.html#gaf331929e09bf1454dc2835b6ecc4ff30">XAxiVdma_SetFrmStore()</a>, <a class="el" href="group__axivdma__v6__0.html#ga741b4b1607c2ee71a3be16ddd8300656">XAxiVdma_SetLineBufThreshold()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaf99dd7738b98367397831df26433843a">XAxiVdma_StartParking()</a>.</p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="ga34821010a7787601c83e0ab528267df2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* XAxiVdma_CallBack) (void *CallBackRef, u32 InterruptTypes)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8h.html">xaxivdma.h</a>&gt;</code></p>

<p>Callback type for general interrupts. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallBackRef</td><td>is a callback reference passed in by the upper layer when setting the callback functions, and passed back to the upper layer when the callback is called. </td></tr>
    <tr><td class="paramname">InterruptTypes</td><td>indicates the detailed type(s) of the interrupt. Its value equals 'OR'ing one or more XAXIVDMA_IXR_* values defined in <a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gaea567b1a94234bd488f19ce82e22486b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* XAxiVdma_ErrorCallBack) (void *CallBackRef, u32 ErrorMask)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8h.html">xaxivdma.h</a>&gt;</code></p>

<p>Callback type for Error interrupt. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallBackRef</td><td>is a callback reference passed in by the upper layer when setting the callback function, and it is passed back to the upper layer when the callback is called. </td></tr>
    <tr><td class="paramname">ErrorMask</td><td>is a bit mask indicating the cause of the error. Its value equals 'OR'ing one or more XAXIVDMA_IXR_* values defined in <a class="el" href="xaxivdma__hw_8h.html">xaxivdma_hw.h</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga8d11c9609cf957c560fb287af1433374"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_CfgInitialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma___config.html">XAxiVdma_Config</a> *&#160;</td>
          <td class="paramname"><em>CfgPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>EffectiveAddr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Initialize the driver with hardware configuration. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">CfgPtr</td><td>is the pointer to the hardware configuration structure </td></tr>
    <tr><td class="paramname">EffectiveAddr</td><td>is the virtual address map for the device</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if everything goes fine</li>
<li>XST_FAILURE if reset the hardware failed, need system reset to recover</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If channel fails reset, then it will be set as invalid </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gaefe77aff2f380aac9be64645ca606696">XAxiVdma_Config::AddrWidth</a>, <a class="el" href="group__axivdma__v6__0.html#ga49f2cc215d38001d678803c690aa6dd5">XAxiVdma::AddrWidth</a>, <a class="el" href="group__axivdma__v6__0.html#ga593206ce099f13c6a62e8c1c95f65b0c">XAxiVdma::BaseAddr</a>, <a class="el" href="group__axivdma__v6__0.html#gaf3e1965613b2d1a437d798e8a37df333">XAxiVdma_ChannelCallBack::CompletionCallBack</a>, <a class="el" href="group__axivdma__v6__0.html#gae3bce37353c26d5b2f077a100cdc7bd4">XAxiVdma_Config::EnableAllDbgFeatures</a>, <a class="el" href="group__axivdma__v6__0.html#ga8bde9bc1e0f2871e63eebff6b4d3a11f">XAxiVdma_ChannelCallBack::ErrCallBack</a>, <a class="el" href="group__axivdma__v6__0.html#ga0ff6f00da81986d480ae3baed727e4a9">XAxiVdma_Config::FlushonFsync</a>, <a class="el" href="group__axivdma__v6__0.html#gae737875f784d02112726509846784dd1">XAxiVdma_Config::HasMm2S</a>, <a class="el" href="group__axivdma__v6__0.html#gac5806353d2211d78f4c963dd7b018ac9">XAxiVdma::HasMm2S</a>, <a class="el" href="group__axivdma__v6__0.html#gae673d8167e09607574eafbcebd1f0059">XAxiVdma_Config::HasMm2SDRE</a>, <a class="el" href="group__axivdma__v6__0.html#gac0131f5b3987b78fe975c03f264586a6">XAxiVdma_Config::HasS2Mm</a>, <a class="el" href="group__axivdma__v6__0.html#ga22a700bda0eb14878a0c343fbac77456">XAxiVdma::HasS2Mm</a>, <a class="el" href="group__axivdma__v6__0.html#ga88e3b8ed3aa34aec7d9936681eadae97">XAxiVdma_Config::HasS2MmDRE</a>, <a class="el" href="group__axivdma__v6__0.html#gaf28619bcd27f94ceaf47bbeb0cb0400c">XAxiVdma_Config::HasSG</a>, <a class="el" href="group__axivdma__v6__0.html#gad116974229d0e33b61767742f42d9584">XAxiVdma::HasSG</a>, <a class="el" href="group__axivdma__v6__0.html#ga990e5208e4320a26ca4cc8f50407489d">XAxiVdma_Config::InternalGenLock</a>, <a class="el" href="group__axivdma__v6__0.html#ga3af417807133e29a55867f9c853fa25b">XAxiVdma::InternalGenLock</a>, <a class="el" href="group__axivdma__v6__0.html#ga8b4441757224aa73135d6ed334bacdb5">XAxiVdma::IsReady</a>, <a class="el" href="group__axivdma__v6__0.html#gabbeae935b306619b3e2d41598ea1727e">XAxiVdma_Config::MaxFrameStoreNum</a>, <a class="el" href="group__axivdma__v6__0.html#gac5420b0f3823998ce975acbaf1c174b2">XAxiVdma::MaxNumFrames</a>, <a class="el" href="group__axivdma__v6__0.html#ga14b3296d09ee88ac27a415ca2452a60e">XAxiVdma_Config::Mm2SBufDepth</a>, <a class="el" href="group__axivdma__v6__0.html#ga3f3291160fad20f64ce2e18efcfe8566">XAxiVdma_Config::Mm2SDlyCntrEn</a>, <a class="el" href="group__axivdma__v6__0.html#gaca0e931b1418fda82650456d7639b752">XAxiVdma_Config::Mm2SFrmCntrEn</a>, <a class="el" href="group__axivdma__v6__0.html#gad04ebadf6c05c481198b6b27e5e9eec8">XAxiVdma_Config::Mm2SFrmStoreRegEn</a>, <a class="el" href="group__axivdma__v6__0.html#ga7057aa6b1b3614612b2b1331ec6afd87">XAxiVdma_Config::Mm2SGenLock</a>, <a class="el" href="group__axivdma__v6__0.html#ga569bedc89182bd0542f62580767c98d3">XAxiVdma_Config::Mm2SStreamWidth</a>, <a class="el" href="group__axivdma__v6__0.html#gacda6ef717d6af941e0f0c8dc90185a24">XAxiVdma_Config::Mm2SThresRegEn</a>, <a class="el" href="group__axivdma__v6__0.html#gaf7a988cf756f60c718d29e2f3273764b">XAxiVdma_Config::Mm2SWordLen</a>, <a class="el" href="group__axivdma__v6__0.html#gac2cdde8d751e11e934ecea898574e99a">XAxiVdma::ReadCallBack</a>, <a class="el" href="group__axivdma__v6__0.html#gae165f3cbaa2eb57aa1708743e45aa845">XAxiVdma_Config::S2MmBufDepth</a>, <a class="el" href="group__axivdma__v6__0.html#ga263c9059a1a7220c0d082791d1f99681">XAxiVdma_Config::S2MmDlyCntrEn</a>, <a class="el" href="group__axivdma__v6__0.html#gac0f7d3262d6a8a66cb68516be91f9fa0">XAxiVdma_Config::S2MmFrmCntrEn</a>, <a class="el" href="group__axivdma__v6__0.html#ga5835e4da4043a081141184f760894960">XAxiVdma_Config::S2MmFrmStoreRegEn</a>, <a class="el" href="group__axivdma__v6__0.html#ga7938ca3c609d8a44a05cf81cde30a4a7">XAxiVdma_Config::S2MmGenLock</a>, <a class="el" href="group__axivdma__v6__0.html#ga7de365f4e644f7d357dfb5aea0ba4241">XAxiVdma_Config::S2MmSOF</a>, <a class="el" href="group__axivdma__v6__0.html#gaf8169029d1b2a372478df2ad52c99ae3">XAxiVdma_Config::S2MmStreamWidth</a>, <a class="el" href="group__axivdma__v6__0.html#ga83e466b0e6d0b8711db0372000009c9b">XAxiVdma_Config::S2MmThresRegEn</a>, <a class="el" href="group__axivdma__v6__0.html#gaef8758d32c62de587d9e57fed56c01ee">XAxiVdma_Config::S2MmWordLen</a>, <a class="el" href="group__axivdma__v6__0.html#gab97aef716c82252eeb7eb12832a31dd5">XAxiVdma_Config::UseFsync</a>, <a class="el" href="group__axivdma__v6__0.html#ga2158cdab0215f4079c14741e1af43c5d">XAxiVdma::UseFsync</a>, <a class="el" href="group__axivdma__v6__0.html#gae92ec1b3f2075167e0f552a75ecfde46">XAxiVdma::WriteCallBack</a>, <a class="el" href="group__axivdma__v6__0.html#gad1bc694180b959ab0794ac6c4468a8ba">XAXIVDMA_BUFTHRES_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#gae429b7acc7449fcb805ae013528c9ba0">XAxiVdma_ChannelGetStatus()</a>, <a class="el" href="group__axivdma__v6__0.html#ga795e26fb85aa4140db060d731a19efeb">XAxiVdma_ChannelInit()</a>, <a class="el" href="group__axivdma__v6__0.html#ga96e2798de16d738f378458fa2b7b2f1c">XAxiVdma_ChannelReset()</a>, <a class="el" href="group__axivdma__v6__0.html#ga9b0a1008f3e30f3f031763f108f76405">XAxiVdma_ChannelResetNotDone()</a>, <a class="el" href="group__axivdma__v6__0.html#gafa8a6604771dc02e3a96eb09ac16fcaa">XAXIVDMA_DEVICE_READY</a>, <a class="el" href="group__axivdma__v6__0.html#gaef1fd25fb7d569716f06428a2cb252a6">XAXIVDMA_ENABLE_DBG_THRESHOLD_REG</a>, <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>, <a class="el" href="group__axivdma__v6__0.html#ga6d94757e1f4835c0975b13f0ab543f8b">XAXIVDMA_MM2S_ADDR_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#ga5fa27b3ce66d947167262fe918fb5373">XAXIVDMA_READ</a>, <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>, <a class="el" href="group__axivdma__v6__0.html#gab97c05cd73a22a627177554199efb526">XAXIVDMA_RX_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#ga8daae8241a3aeae54627939188febf71">XAXIVDMA_S2MM_ADDR_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#gae1497f30a25302cb0f4ec93a16a23100">XAXIVDMA_TX_OFFSET</a>, and <a class="el" href="group__axivdma__v6__0.html#ga525d0fa8fc04a9dde871ab55cf6b227b">XAXIVDMA_WRITE</a>.</p>

</div>
</div>
<a class="anchor" id="ga74ab4785d21c80a0d4501f0d985213e4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_ChannelConfig </td>
          <td>(</td>
          <td class="paramtype">XAxiVdma_Channel *&#160;</td>
          <td class="paramname"><em>Channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XAxiVdma_ChannelSetup *&#160;</td>
          <td class="paramname"><em>ChannelCfgPtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__channel_8c.html">xaxivdma_channel.c</a>&gt;</code></p>

<p>Configure one DMA channel using the configuration structure. </p>
<p>Setup the control register and BDs, however, BD addresses are not set.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>is the pointer to the channel to work on </td></tr>
    <tr><td class="paramname">ChannelCfgPtr</td><td>is the pointer to the setup structure</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if successful</li>
<li>XST_FAILURE if channel has not being initialized</li>
<li>XST_DEVICE_BUSY if the DMA channel is not idle</li>
<li>XST_INVALID_PARAM if fields in ChannelCfgPtr is not valid </li>
</ul>
</dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gaaf57ab476eb91e9f41b6d166d2b2d6bb">XAxiVdma_ChannelIsBusy()</a>, <a class="el" href="group__axivdma__v6__0.html#gabfed305b44e791eaae8142ab94bd0ba9">XAXIVDMA_CR_FRMCNT_EN_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#ga627a79cc1c66dfbd98783d7f053fdd36">XAXIVDMA_CR_GENLCK_RPT_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#gadb4ad98d2088b8488c6ec4e519449e36">XAXIVDMA_CR_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#gaa5247e7518945ca4123cff1a2f2d8476">XAXIVDMA_CR_RD_PTR_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#gafe377bb760c2aa781930960549690b87">XAXIVDMA_CR_RD_PTR_SHIFT</a>, <a class="el" href="group__axivdma__v6__0.html#gac70dd163b5142c5211e349e16f980e11">XAXIVDMA_CR_SYNC_EN_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#ga6bda812084d25429b793e441c698298d">XAXIVDMA_CR_TAIL_EN_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#ga7e274c9f02af4538043f757c3e224a91">XAXIVDMA_FRM_MAX</a>, <a class="el" href="group__axivdma__v6__0.html#gaecab8ebcc9f83abc6b88289fb11b9440">XAXIVDMA_FRMDLY_MAX</a>, <a class="el" href="group__axivdma__v6__0.html#ga266367de39275d3e11a96966a4039130">XAXIVDMA_FRMDLY_SHIFT</a>, <a class="el" href="group__axivdma__v6__0.html#ga36e2b755a604e36829faf28153035830">XAXIVDMA_GENLOCK_MASTER</a>, <a class="el" href="group__axivdma__v6__0.html#gaa1752ade8b38bc29a8528859e634a38d">XAXIVDMA_HSIZE_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#ga311f4eadce692b10effb8cd492b2120c">XAXIVDMA_PARKPTR_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#ga39001a9b8ae972fc53463961ca423ac1">XAXIVDMA_PARKPTR_READREF_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#ga9656852c690e3a7e5253fe67b87f10cf">XAXIVDMA_PARKPTR_WRTREF_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>, <a class="el" href="group__axivdma__v6__0.html#ga5e165469c0c5618932b44f17dcfa566b">XAXIVDMA_STRD_FRMDLY_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#ga525d0fa8fc04a9dde871ab55cf6b227b">XAXIVDMA_WRITE</a>, and <a class="el" href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">XAxiVdma_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga3b9c24a02c4b4f99d40820a647de811d">XAxiVdma_ChannelStartTransfer()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga3c50e96d431d9f1ee7d6200266c0dbd3">XAxiVdma_DmaConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="ga2daa8c45a82867bedf786957b4154cdc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiVdma_ChannelDisableIntr </td>
          <td>(</td>
          <td class="paramtype">XAxiVdma_Channel *&#160;</td>
          <td class="paramname"><em>Channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>IntrType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__channel_8c.html">xaxivdma_channel.c</a>&gt;</code></p>

<p>Disable interrupts for a channel. </p>
<p>Interrupts that are not specified by the interrupt mask are not affected.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>is the pointer to the channel to work on </td></tr>
    <tr><td class="paramname">IntrType</td><td>is the interrupt mask for interrupts to be disabled</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gadb4ad98d2088b8488c6ec4e519449e36">XAXIVDMA_CR_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#ga6e80967b83e9f0f65dfde6c92008f0d2">XAXIVDMA_IXR_ALL_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>, and <a class="el" href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">XAxiVdma_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#gaba9a0ebdb72696e24ccaa48e57802323">XAxiVdma_IntrDisable()</a>.</p>

</div>
</div>
<a class="anchor" id="ga64d6b39bc9e900efe9f14c9961f4da24"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiVdma_ChannelEnableIntr </td>
          <td>(</td>
          <td class="paramtype">XAxiVdma_Channel *&#160;</td>
          <td class="paramname"><em>Channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>IntrType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__channel_8c.html">xaxivdma_channel.c</a>&gt;</code></p>

<p>Enable interrupts for a channel. </p>
<p>Interrupts that are not specified by the interrupt mask are not affected.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>is the pointer to the channel to work on </td></tr>
    <tr><td class="paramname">IntrType</td><td>is the interrupt mask for interrupts to be enabled</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gadb4ad98d2088b8488c6ec4e519449e36">XAXIVDMA_CR_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#ga6e80967b83e9f0f65dfde6c92008f0d2">XAXIVDMA_IXR_ALL_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>, and <a class="el" href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">XAxiVdma_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga4c687431dde198458fb4e42dff22c106">XAxiVdma_IntrEnable()</a>.</p>

</div>
</div>
<a class="anchor" id="gaccc8d62d87870cb43c048938e405d4e6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAxiVdma_ChannelGetEnabledIntr </td>
          <td>(</td>
          <td class="paramtype">XAxiVdma_Channel *&#160;</td>
          <td class="paramname"><em>Channel</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__channel_8c.html">xaxivdma_channel.c</a>&gt;</code></p>

<p>Get the enabled interrupts of a channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>is the pointer to the channel to work on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The interrupts mask represents pending interrupts. </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gadb4ad98d2088b8488c6ec4e519449e36">XAXIVDMA_CR_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#ga6e80967b83e9f0f65dfde6c92008f0d2">XAXIVDMA_IXR_ALL_MASK</a>, and <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>.</p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga60ceb86226e513a16d6776a97fcfa50f">XAxiVdma_ReadIntrHandler()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaad76f2f6ab41e322ddcd240d2af8140d">XAxiVdma_WriteIntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ga3e90ef720feb2a974511d7e2889a2198"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiVdma_ChannelGetFrmCnt </td>
          <td>(</td>
          <td class="paramtype">XAxiVdma_Channel *&#160;</td>
          <td class="paramname"><em>Channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>FrmCnt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>DlyCnt</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__channel_8c.html">xaxivdma_channel.c</a>&gt;</code></p>

<p>Get the frame counter and delay counter for both channels. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>is the pointer to the channel to work on </td></tr>
    <tr><td class="paramname">FrmCnt</td><td>is the pointer for the returning frame counter value </td></tr>
    <tr><td class="paramname">DlyCnt</td><td>is the pointer for the returning delay counter value</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If FrmCnt return as 0, then the channel is not initialized </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gadb4ad98d2088b8488c6ec4e519449e36">XAXIVDMA_CR_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#gac556991d9307f211f770d15a117ee937">XAXIVDMA_DELAY_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#gaf4ab4ba9a0c2984efad7fefe195fe0ed">XAXIVDMA_FRMCNT_MASK</a>, and <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>.</p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#gabb2cecf1628ce8f7b42ffca3608bdf70">XAxiVdma_GetFrameCounter()</a>.</p>

</div>
</div>
<a class="anchor" id="ga361297a60672ab2552754d8a58d3f7ab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAxiVdma_ChannelGetPendingIntr </td>
          <td>(</td>
          <td class="paramtype">XAxiVdma_Channel *&#160;</td>
          <td class="paramname"><em>Channel</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__channel_8c.html">xaxivdma_channel.c</a>&gt;</code></p>

<p>Get pending interrupts of a channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>is the pointer to the channel to work on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The interrupts mask represents pending interrupts. </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga6e80967b83e9f0f65dfde6c92008f0d2">XAXIVDMA_IXR_ALL_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>, and <a class="el" href="group__axivdma__v6__0.html#ga0617c0c161fd2d93690e2d3b0a0906b8">XAXIVDMA_SR_OFFSET</a>.</p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga90501638e7f1077232443f0a60b3b40d">XAxiVdma_IntrGetPending()</a>, <a class="el" href="group__axivdma__v6__0.html#ga60ceb86226e513a16d6776a97fcfa50f">XAxiVdma_ReadIntrHandler()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaad76f2f6ab41e322ddcd240d2af8140d">XAxiVdma_WriteIntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="gae429b7acc7449fcb805ae013528c9ba0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAxiVdma_ChannelGetStatus </td>
          <td>(</td>
          <td class="paramtype">XAxiVdma_Channel *&#160;</td>
          <td class="paramname"><em>Channel</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__channel_8c.html">xaxivdma_channel.c</a>&gt;</code></p>

<p>Get the current status of a channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>is the pointer to the channel to work on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The status of the channel </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>, and <a class="el" href="group__axivdma__v6__0.html#ga0617c0c161fd2d93690e2d3b0a0906b8">XAXIVDMA_SR_OFFSET</a>.</p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga15653f0679e3a33efd384598b6c42e08">XAxiVdma_GetStatus()</a>.</p>

</div>
</div>
<a class="anchor" id="ga795e26fb85aa4140db060d731a19efeb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiVdma_ChannelInit </td>
          <td>(</td>
          <td class="paramtype">XAxiVdma_Channel *&#160;</td>
          <td class="paramname"><em>Channel</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__channel_8c.html">xaxivdma_channel.c</a>&gt;</code></p>

<p>Initialize a channel of a DMA engine. </p>
<p>This function initializes the BD ring for this channel</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>is the pointer to the DMA channel to work on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaf331929e09bf1454dc2835b6ecc4ff30">XAxiVdma_SetFrmStore()</a>.</p>

</div>
</div>
<a class="anchor" id="ga7a8c557bce703f572d4e2dd9e362f489"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiVdma_ChannelIntrClear </td>
          <td>(</td>
          <td class="paramtype">XAxiVdma_Channel *&#160;</td>
          <td class="paramname"><em>Channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>IntrType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__channel_8c.html">xaxivdma_channel.c</a>&gt;</code></p>

<p>Clear interrupts of a channel. </p>
<p>Interrupts that are not specified by the interrupt mask are not affected.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>is the pointer to the channel to work on </td></tr>
    <tr><td class="paramname">IntrType</td><td>is the interrupt mask for interrupts to be cleared</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga6e80967b83e9f0f65dfde6c92008f0d2">XAXIVDMA_IXR_ALL_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#ga0617c0c161fd2d93690e2d3b0a0906b8">XAXIVDMA_SR_OFFSET</a>, and <a class="el" href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">XAxiVdma_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#gaaba3bd6f623637f15e16176ea77213b3">XAxiVdma_IntrClear()</a>, <a class="el" href="group__axivdma__v6__0.html#ga60ceb86226e513a16d6776a97fcfa50f">XAxiVdma_ReadIntrHandler()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaad76f2f6ab41e322ddcd240d2af8140d">XAxiVdma_WriteIntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="gaaf57ab476eb91e9f41b6d166d2b2d6bb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_ChannelIsBusy </td>
          <td>(</td>
          <td class="paramtype">XAxiVdma_Channel *&#160;</td>
          <td class="paramname"><em>Channel</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__channel_8c.html">xaxivdma_channel.c</a>&gt;</code></p>

<p>Check whether a DMA channel is busy. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>is the pointer to the channel to work on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>non zero if the channel is busy</li>
<li>0 is the channel is idle </li>
</ul>
</dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>, <a class="el" href="group__axivdma__v6__0.html#ga950f0fc166fb91f145538984a3b3f29f">XAXIVDMA_SR_HALTED_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#gad3ebc688ce8c9515277296cd7c9d9d68">XAXIVDMA_SR_IDLE_MASK</a>, and <a class="el" href="group__axivdma__v6__0.html#ga0617c0c161fd2d93690e2d3b0a0906b8">XAXIVDMA_SR_OFFSET</a>.</p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga74ab4785d21c80a0d4501f0d985213e4">XAxiVdma_ChannelConfig()</a>, <a class="el" href="group__axivdma__v6__0.html#ga1703c6dcef193966f4f1db7e6e9e59ce">XAxiVdma_ChannelSetBdAddrs()</a>, <a class="el" href="group__axivdma__v6__0.html#ga91cec5aee2b7126eb128169ddd2b4b4f">XAxiVdma_ChannelStart()</a>, <a class="el" href="group__axivdma__v6__0.html#ga3b9c24a02c4b4f99d40820a647de811d">XAxiVdma_ChannelStartTransfer()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga0fc5b39aabb8d4f56b0dd2024ea5bff2">XAxiVdma_IsBusy()</a>.</p>

</div>
</div>
<a class="anchor" id="ga13807c40f1f871a6b2f7cbde9eeab9a8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiVdma_ChannelRegisterDump </td>
          <td>(</td>
          <td class="paramtype">XAxiVdma_Channel *&#160;</td>
          <td class="paramname"><em>Channel</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__channel_8c.html">xaxivdma_channel.c</a>&gt;</code></p>

<p>Dump registers from one DMA channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>is the pointer to the channel to work on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga36d711874a8831f2b134a377488aefd2">XAXIVDMA_CDESC_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#gadb4ad98d2088b8488c6ec4e519449e36">XAXIVDMA_CR_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>, <a class="el" href="group__axivdma__v6__0.html#ga0617c0c161fd2d93690e2d3b0a0906b8">XAXIVDMA_SR_OFFSET</a>, and <a class="el" href="group__axivdma__v6__0.html#ga8a1e429317226b3d7a3e9ee29688c3ab">XAXIVDMA_TDESC_OFFSET</a>.</p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#gab51f0d1f195db6af2dd3023e5c80eb5c">XAxiVdma_DmaRegisterDump()</a>.</p>

</div>
</div>
<a class="anchor" id="ga96e2798de16d738f378458fa2b7b2f1c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiVdma_ChannelReset </td>
          <td>(</td>
          <td class="paramtype">XAxiVdma_Channel *&#160;</td>
          <td class="paramname"><em>Channel</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__channel_8c.html">xaxivdma_channel.c</a>&gt;</code></p>

<p>This function resets one DMA channel. </p>
<p>The registers will be default values after the reset</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>is the pointer to the DMA channel to work on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gadb4ad98d2088b8488c6ec4e519449e36">XAXIVDMA_CR_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#gaacbafb1fba1bc73bd5ed95b06a5cb4f5">XAXIVDMA_CR_RESET_MASK</a>, and <a class="el" href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">XAxiVdma_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>, <a class="el" href="group__axivdma__v6__0.html#ga8dbd2faa070ca571f049e3b61f9bdb1e">XAxiVdma_Reset()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga97041abec8a49ee091440012fec1f7ca">XAxiVdma_Selftest()</a>.</p>

</div>
</div>
<a class="anchor" id="ga9b0a1008f3e30f3f031763f108f76405"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_ChannelResetNotDone </td>
          <td>(</td>
          <td class="paramtype">XAxiVdma_Channel *&#160;</td>
          <td class="paramname"><em>Channel</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__channel_8c.html">xaxivdma_channel.c</a>&gt;</code></p>

<p>This function checks whether reset operation is done. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>is the pointer to the DMA channel to work on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>0 if reset is done</li>
<li>1 if reset is still going </li>
</ul>
</dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gadb4ad98d2088b8488c6ec4e519449e36">XAXIVDMA_CR_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#gaacbafb1fba1bc73bd5ed95b06a5cb4f5">XAXIVDMA_CR_RESET_MASK</a>, and <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>.</p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>, <a class="el" href="group__axivdma__v6__0.html#ga3e01bd69f101126d5962f7078ee3e520">XAxiVdma_ResetNotDone()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga97041abec8a49ee091440012fec1f7ca">XAxiVdma_Selftest()</a>.</p>

</div>
</div>
<a class="anchor" id="ga1703c6dcef193966f4f1db7e6e9e59ce"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_ChannelSetBdAddrs </td>
          <td>(</td>
          <td class="paramtype">XAxiVdma_Channel *&#160;</td>
          <td class="paramname"><em>Channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR&#160;</td>
          <td class="paramname"><em>BdAddrPhys</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR&#160;</td>
          <td class="paramname"><em>BdAddrVirt</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__channel_8c.html">xaxivdma_channel.c</a>&gt;</code></p>

<p>Setup BD addresses to a different memory region. </p>
<p>In some systems, it is convenient to put BDs into a certain region of the memory. This function enables that.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>is the pointer to the channel to work on </td></tr>
    <tr><td class="paramname">BdAddrPhys</td><td>is the physical starting address for BDs </td></tr>
    <tr><td class="paramname">BdAddrVirt</td><td>is the Virtual starting address for BDs. For systems that do not use MMU, then virtual address is the same as physical address</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS for a successful setup</li>
<li>XST_DEVICE_BUSY if the DMA channel is not idle, BDs are still being used</li>
</ul>
</dd></dl>
<p>We assume that the memory region starting from BdAddrPhys is large enough to hold all the BDs. </p>

<p>References <a class="el" href="group__axivdma__v6__0.html#gaaf57ab476eb91e9f41b6d166d2b2d6bb">XAxiVdma_ChannelIsBusy()</a>.</p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#gab14c0b0487aeb3347b289eb58453e75d">XAxiVdma_SetBdAddrs()</a>.</p>

</div>
</div>
<a class="anchor" id="ga14da4fd85b6e6c8009479634bca8527a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_ChannelSetBufferAddr </td>
          <td>(</td>
          <td class="paramtype">XAxiVdma_Channel *&#160;</td>
          <td class="paramname"><em>Channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR *&#160;</td>
          <td class="paramname"><em>BufferAddrSet</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>NumFrames</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__channel_8c.html">xaxivdma_channel.c</a>&gt;</code></p>

<p>Configure buffer addresses for one DMA channel. </p>
<p>The buffer addresses are physical addresses. Access to 32 Frame Buffer Addresses in direct mode is done through XAxiVdma_ChannelHiFrmAddrEnable/Disable Functions. 0 - Access Bank0 Registers (0x5C - 0x98) 1 - Access Bank1 Registers (0x5C - 0x98)</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>is the pointer to the channel to work on </td></tr>
    <tr><td class="paramname">BufferAddrSet</td><td>is the set of addresses for the transfers </td></tr>
    <tr><td class="paramname">NumFrames</td><td>is the number of frames to set the address</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if successful</li>
<li>XST_FAILURE if channel has not being initialized</li>
<li>XST_DEVICE_BUSY if the DMA channel is not idle, BDs are still being used</li>
<li>XST_INVAID_PARAM if buffer address not valid, for example, unaligned address with no DRE built in the hardware </li>
</ul>
</dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gaaf3790410e85baac4ef181f1b77c8cdf">XAxiVdma_ChannelHiFrmAddrDisable</a>, <a class="el" href="group__axivdma__v6__0.html#gac1022ff84a093476cff8499bc4bbaae2">XAxiVdma_ChannelHiFrmAddrEnable</a>, <a class="el" href="group__axivdma__v6__0.html#ga74cbf8945ca6cf9175bac9d7ad21a1bf">XAXIVDMA_MAX_FRAMESTORE</a>, <a class="el" href="group__axivdma__v6__0.html#gaed6082e7154b873435b6e0cbd6f7bf03">XAXIVDMA_MAX_FRAMESTORE_64</a>, <a class="el" href="group__axivdma__v6__0.html#gaba552b4bc0c96fb9d76ef37e9fc34da7">XAXIVDMA_START_ADDR_LEN</a>, <a class="el" href="group__axivdma__v6__0.html#ga83c97295f4a50d39cacbb32fa928ea95">XAXIVDMA_START_ADDR_MSB_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#ga73ce4a1f2caf365b8c54cd77827a29cc">XAXIVDMA_START_ADDR_OFFSET</a>, and <a class="el" href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">XAxiVdma_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga3b9c24a02c4b4f99d40820a647de811d">XAxiVdma_ChannelStartTransfer()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga8fa5b3e7978fda9bde7498a9d4af3c73">XAxiVdma_DmaSetBufferAddr()</a>.</p>

</div>
</div>
<a class="anchor" id="ga524861abb42dc3da2ed14d5932a3bb5b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_ChannelSetFrmCnt </td>
          <td>(</td>
          <td class="paramtype">XAxiVdma_Channel *&#160;</td>
          <td class="paramname"><em>Channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>FrmCnt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>DlyCnt</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__channel_8c.html">xaxivdma_channel.c</a>&gt;</code></p>

<p>Set the frame counter and delay counter for one channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>is the pointer to the channel to work on </td></tr>
    <tr><td class="paramname">FrmCnt</td><td>is the frame counter value to be set </td></tr>
    <tr><td class="paramname">DlyCnt</td><td>is the delay counter value to be set</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if setup finishes successfully</li>
<li>XST_FAILURE if channel is not initialized</li>
<li>XST_INVALID_PARAM if the configuration structure has invalid values</li>
<li>XST_NO_FEATURE if Frame Counter or Delay Counter is disabled </li>
</ul>
</dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gadb4ad98d2088b8488c6ec4e519449e36">XAXIVDMA_CR_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#gac556991d9307f211f770d15a117ee937">XAXIVDMA_DELAY_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#gaf4ab4ba9a0c2984efad7fefe195fe0ed">XAXIVDMA_FRMCNT_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>, and <a class="el" href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">XAxiVdma_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#gaabe404c2a5c1483bc95be749c7540ba4">XAxiVdma_SetFrameCounter()</a>.</p>

</div>
</div>
<a class="anchor" id="ga91cec5aee2b7126eb128169ddd2b4b4f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_ChannelStart </td>
          <td>(</td>
          <td class="paramtype">XAxiVdma_Channel *&#160;</td>
          <td class="paramname"><em>Channel</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__channel_8c.html">xaxivdma_channel.c</a>&gt;</code></p>

<p>Start one DMA channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>is the pointer to the channel to work on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if successful</li>
<li>XST_FAILURE if channel is not initialized</li>
<li>XST_DMA_ERROR if: . The DMA channel fails to stop . The DMA channel fails to start</li>
<li>XST_DEVICE_BUSY is the channel is doing transfers </li>
</ul>
</dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga36d711874a8831f2b134a377488aefd2">XAXIVDMA_CDESC_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#gaaf57ab476eb91e9f41b6d166d2b2d6bb">XAxiVdma_ChannelIsBusy()</a>, <a class="el" href="group__axivdma__v6__0.html#gadb4ad98d2088b8488c6ec4e519449e36">XAXIVDMA_CR_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#gaf6165b2a5668ffbfe3320c83f1a3ffaa">XAXIVDMA_CR_RUNSTOP_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>, <a class="el" href="group__axivdma__v6__0.html#ga8a1e429317226b3d7a3e9ee29688c3ab">XAXIVDMA_TDESC_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#ga4feada9ad41cf079a8c9b7c6aebfecff">XAXIVDMA_VSIZE_OFFSET</a>, and <a class="el" href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">XAxiVdma_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga3b9c24a02c4b4f99d40820a647de811d">XAxiVdma_ChannelStartTransfer()</a>, and <a class="el" href="group__axivdma__v6__0.html#gadf310ae3bd4c0ae9ebf3e445a2fbe444">XAxiVdma_DmaStart()</a>.</p>

</div>
</div>
<a class="anchor" id="ga771725985f20173546d5555fb8806a6c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiVdma_ChannelStartFrmCntEnable </td>
          <td>(</td>
          <td class="paramtype">XAxiVdma_Channel *&#160;</td>
          <td class="paramname"><em>Channel</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__channel_8c.html">xaxivdma_channel.c</a>&gt;</code></p>

<p>Set the channel to run in frame count enable mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>is the pointer to the channel to work on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gabfed305b44e791eaae8142ab94bd0ba9">XAXIVDMA_CR_FRMCNT_EN_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#gadb4ad98d2088b8488c6ec4e519449e36">XAXIVDMA_CR_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>, and <a class="el" href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">XAxiVdma_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga4f05c5a75fdf840517c17d687443510d">XAxiVdma_StartFrmCntEnable()</a>.</p>

</div>
</div>
<a class="anchor" id="ga04f4bf5ac18661ceb9c1ef047949e3d8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_ChannelStartParking </td>
          <td>(</td>
          <td class="paramtype">XAxiVdma_Channel *&#160;</td>
          <td class="paramname"><em>Channel</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__channel_8c.html">xaxivdma_channel.c</a>&gt;</code></p>

<p>Set the channel to run in parking mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>is the pointer to the channel to work on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if everything is fine</li>
<li>XST_FAILURE if hardware is not running </li>
</ul>
</dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gadb4ad98d2088b8488c6ec4e519449e36">XAXIVDMA_CR_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#ga6bda812084d25429b793e441c698298d">XAXIVDMA_CR_TAIL_EN_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>, and <a class="el" href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">XAxiVdma_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#gaf99dd7738b98367397831df26433843a">XAxiVdma_StartParking()</a>.</p>

</div>
</div>
<a class="anchor" id="ga3b9c24a02c4b4f99d40820a647de811d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_ChannelStartTransfer </td>
          <td>(</td>
          <td class="paramtype">XAxiVdma_Channel *&#160;</td>
          <td class="paramname"><em>Channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XAxiVdma_ChannelSetup *&#160;</td>
          <td class="paramname"><em>ChannelCfgPtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__channel_8c.html">xaxivdma_channel.c</a>&gt;</code></p>

<p>Start a transfer. </p>
<p>This function setup the DMA engine and start the engine to do the transfer.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>is the pointer to the channel to work on </td></tr>
    <tr><td class="paramname">ChannelCfgPtr</td><td>is the pointer to the setup structure</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS for a successful submission</li>
<li>XST_FAILURE if channel has not being initialized</li>
<li>XST_DEVICE_BUSY if the DMA channel is not idle, BDs are still being used</li>
<li>XST_INVAID_PARAM if parameters in config structure not valid </li>
</ul>
</dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga74ab4785d21c80a0d4501f0d985213e4">XAxiVdma_ChannelConfig()</a>, <a class="el" href="group__axivdma__v6__0.html#gaaf57ab476eb91e9f41b6d166d2b2d6bb">XAxiVdma_ChannelIsBusy()</a>, <a class="el" href="group__axivdma__v6__0.html#ga14da4fd85b6e6c8009479634bca8527a">XAxiVdma_ChannelSetBufferAddr()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga91cec5aee2b7126eb128169ddd2b4b4f">XAxiVdma_ChannelStart()</a>.</p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#gab2646b6aeea2ff64c4b42319ffb49804">XAxiVdma_StartReadFrame()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga1dc126d885558e03cf06a4d9c05d5668">XAxiVdma_StartWriteFrame()</a>.</p>

</div>
</div>
<a class="anchor" id="ga12bb1b451a69ecfc70f55d4fbf7257b0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiVdma_ChannelStop </td>
          <td>(</td>
          <td class="paramtype">XAxiVdma_Channel *&#160;</td>
          <td class="paramname"><em>Channel</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__channel_8c.html">xaxivdma_channel.c</a>&gt;</code></p>

<p>Stop one DMA channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>is the pointer to the channel to work on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gadb4ad98d2088b8488c6ec4e519449e36">XAXIVDMA_CR_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#gaf6165b2a5668ffbfe3320c83f1a3ffaa">XAXIVDMA_CR_RUNSTOP_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>, and <a class="el" href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">XAxiVdma_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga133b5fd1032db27366382885d6d76484">XAxiVdma_DmaStop()</a>.</p>

</div>
</div>
<a class="anchor" id="gacd5a402e30c5170d9dab22d16ff01336"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiVdma_ChannelStopParking </td>
          <td>(</td>
          <td class="paramtype">XAxiVdma_Channel *&#160;</td>
          <td class="paramname"><em>Channel</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma__channel_8c.html">xaxivdma_channel.c</a>&gt;</code></p>

<p>Set the channel to run in circular mode, exiting parking mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>is the pointer to the channel to work on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gadb4ad98d2088b8488c6ec4e519449e36">XAXIVDMA_CR_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#ga6bda812084d25429b793e441c698298d">XAXIVDMA_CR_TAIL_EN_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>, and <a class="el" href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">XAxiVdma_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8625bbc0ed0ab829f3153160c74bba44">XAxiVdma_StopParking()</a>.</p>

</div>
</div>
<a class="anchor" id="gac01b1199d15a3a95cafb01f61dd1d0d3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_ClearDmaChannelErrors </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>ErrorMask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Clear DMA Channel Errors. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the <a class="el" href="struct_x_axi_vdma.html" title="The XAxiVdma driver instance data. ">XAxiVdma</a> instance to operate on </td></tr>
    <tr><td class="paramname">Direction</td><td>is the channel to work on, use XAXIVDMA_READ/WRITE </td></tr>
    <tr><td class="paramname">ErrorMask</td><td>is the mask of error bits to clear</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>- XST_SUCCESS, when error bits are cleared.<ul>
<li>XST_INVALID_PARAM, when channel pointer is invalid.</li>
<li>XST_DEVICE_NOT_FOUND, when the channel is not valid.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>.</p>

</div>
</div>
<a class="anchor" id="ga9769479907cda3ef95ff1ed394de4629"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAxiVdma_CurrFrameStore </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Get the current frame that hardware is working on. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">Direction</td><td>is the channel to work on, use XAXIVDMA_READ/WRITE</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The current frame that the hardware is working on</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If returned frame number is out of range, then the channel is invalid </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga593206ce099f13c6a62e8c1c95f65b0c">XAxiVdma::BaseAddr</a>, <a class="el" href="group__axivdma__v6__0.html#ga311f4eadce692b10effb8cd492b2120c">XAXIVDMA_PARKPTR_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#ga3326b79c706c90993eea1033edc5f304">XAXIVDMA_PARKPTR_READSTR_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#gafdf5ab4a765d1ed93a697b276d832b7d">XAXIVDMA_PARKPTR_WRTSTR_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#ga5fa27b3ce66d947167262fe918fb5373">XAXIVDMA_READ</a>, <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>, and <a class="el" href="group__axivdma__v6__0.html#ga525d0fa8fc04a9dde871ab55cf6b227b">XAXIVDMA_WRITE</a>.</p>

</div>
</div>
<a class="anchor" id="ga3c50e96d431d9f1ee7d6200266c0dbd3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_DmaConfig </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma___dma_setup.html">XAxiVdma_DmaSetup</a> *&#160;</td>
          <td class="paramname"><em>DmaConfigPtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Configure one DMA channel using the configuration structure. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">Direction</td><td>is the DMA channel to work on </td></tr>
    <tr><td class="paramname">DmaConfigPtr</td><td>is the pointer to the setup structure</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if successful</li>
<li>XST_DEVICE_BUSY if the DMA channel is not idle, BDs are still being used</li>
<li>XST_INVAID_PARAM if buffer address not valid, for example, unaligned address with no DRE built in the hardware, or Direction invalid</li>
<li>XST_DEVICE_NOT_FOUND if the channel is invalid </li>
</ul>
</dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga74ab4785d21c80a0d4501f0d985213e4">XAxiVdma_ChannelConfig()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>.</p>

</div>
</div>
<a class="anchor" id="gab51f0d1f195db6af2dd3023e5c80eb5c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiVdma_DmaRegisterDump </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Dump registers of one DMA channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">Direction</td><td>is the DMA channel to work on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If channel is invalid, then do nothing on that channel </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga13807c40f1f871a6b2f7cbde9eeab9a8">XAxiVdma_ChannelRegisterDump()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>.</p>

</div>
</div>
<a class="anchor" id="ga8fa5b3e7978fda9bde7498a9d4af3c73"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_DmaSetBufferAddr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR *&#160;</td>
          <td class="paramname"><em>BufferAddrSet</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Configure buffer addresses for one DMA channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">Direction</td><td>is the DMA channel to work on </td></tr>
    <tr><td class="paramname">BufferAddrSet</td><td>is the set of addresses for the transfers</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if successful</li>
<li>XST_DEVICE_BUSY if the DMA channel is not idle, BDs are still being used</li>
<li>XST_INVAID_PARAM if buffer address not valid, for example, unaligned address with no DRE built in the hardware, or Direction invalid</li>
<li>XST_DEVICE_NOT_FOUND if the channel is invalid </li>
</ul>
</dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga14da4fd85b6e6c8009479634bca8527a">XAxiVdma_ChannelSetBufferAddr()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>.</p>

</div>
</div>
<a class="anchor" id="gadf310ae3bd4c0ae9ebf3e445a2fbe444"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_DmaStart </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Start one DMA channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">Direction</td><td>is the DMA channel to work on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if channel started successfully</li>
<li>XST_FAILURE otherwise</li>
<li>XST_DEVICE_NOT_FOUND if the channel is invalid</li>
<li>XST_INVALID_PARAM if Direction invalid </li>
</ul>
</dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga91cec5aee2b7126eb128169ddd2b4b4f">XAxiVdma_ChannelStart()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>.</p>

</div>
</div>
<a class="anchor" id="ga133b5fd1032db27366382885d6d76484"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiVdma_DmaStop </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Stop one DMA channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">Direction</td><td>is the DMA channel to work on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If channel is invalid, then do nothing on that channel </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga12bb1b451a69ecfc70f55d4fbf7257b0">XAxiVdma_ChannelStop()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>.</p>

</div>
</div>
<a class="anchor" id="gaa3376589f8781eec1f0d619e1a0d3078"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_FsyncSrcSelect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Configure Frame Sync Source and valid only when C_USE_FSYNC is enabled. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">Source</td><td>is the value to set the source of Frame Sync </td></tr>
    <tr><td class="paramname">Direction</td><td>is the DMA channel to work on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if successful</li>
<li>XST_FAILURE if C_USE_FSYNC is disabled. </li>
</ul>
</dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga2158cdab0215f4079c14741e1af43c5d">XAxiVdma::UseFsync</a>, <a class="el" href="group__axivdma__v6__0.html#ga001373abfc5971ca63943b4088f58e60">XAXIVDMA_CHAN_FSYNC</a>, <a class="el" href="group__axivdma__v6__0.html#ga7af6342cb5f43fa2036b3fbc8be1a082">XAXIVDMA_CR_FSYNC_SRC_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#gadb4ad98d2088b8488c6ec4e519449e36">XAXIVDMA_CR_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>, <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>, <a class="el" href="group__axivdma__v6__0.html#ga525d0fa8fc04a9dde871ab55cf6b227b">XAXIVDMA_WRITE</a>, and <a class="el" href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">XAxiVdma_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="gacf7ed6b0ef406b80e49ff25634f6d5f1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_GenLockSourceSelect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Configure Gen Lock Source. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">Source</td><td>is the value to set the source of Gen Lock </td></tr>
    <tr><td class="paramname">Direction</td><td>is the DMA channel to work on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if successful</li>
<li>XST_FAILURE if the channel is in GenLock Master Mode. if C_INCLUDE_INTERNAL_GENLOCK is disabled. </li>
</ul>
</dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gac5806353d2211d78f4c963dd7b018ac9">XAxiVdma::HasMm2S</a>, <a class="el" href="group__axivdma__v6__0.html#ga22a700bda0eb14878a0c343fbac77456">XAxiVdma::HasS2Mm</a>, <a class="el" href="group__axivdma__v6__0.html#ga3af417807133e29a55867f9c853fa25b">XAxiVdma::InternalGenLock</a>, <a class="el" href="group__axivdma__v6__0.html#gac2bf28150cc3fc0d8cd0fceeedf60554">XAXIVDMA_CR_GENLCK_SRC_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#gadb4ad98d2088b8488c6ec4e519449e36">XAXIVDMA_CR_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#gae49d9133e0ce94d33014c1277b1a4002">XAXIVDMA_EXTERNAL_GENLOCK</a>, <a class="el" href="group__axivdma__v6__0.html#ga36e2b755a604e36829faf28153035830">XAXIVDMA_GENLOCK_MASTER</a>, <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>, <a class="el" href="group__axivdma__v6__0.html#ga5fa27b3ce66d947167262fe918fb5373">XAXIVDMA_READ</a>, <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>, <a class="el" href="group__axivdma__v6__0.html#ga525d0fa8fc04a9dde871ab55cf6b227b">XAXIVDMA_WRITE</a>, and <a class="el" href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">XAxiVdma_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga0eecc03385d10b80e8b17ff834033ac4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">XAxiVdma_Channel * XAxiVdma_GetChannel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Get a channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the DMA engine to work on </td></tr>
    <tr><td class="paramname">Direction</td><td>is the direction for the channel to get</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The pointer to the channel. Upon error, return NULL.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Since this function is internally used, we assume Direction is valid </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga1534da961a034f0aa6ea9fee0702e7f0">XAxiVdma::ReadChannel</a>, <a class="el" href="group__axivdma__v6__0.html#ga606f7921a2a8cf10cfdcf34ee2e82d0a">XAxiVdma::WriteChannel</a>, <a class="el" href="group__axivdma__v6__0.html#ga5fa27b3ce66d947167262fe918fb5373">XAXIVDMA_READ</a>, and <a class="el" href="group__axivdma__v6__0.html#ga525d0fa8fc04a9dde871ab55cf6b227b">XAXIVDMA_WRITE</a>.</p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>, <a class="el" href="group__axivdma__v6__0.html#gac01b1199d15a3a95cafb01f61dd1d0d3">XAxiVdma_ClearDmaChannelErrors()</a>, <a class="el" href="group__axivdma__v6__0.html#ga3c50e96d431d9f1ee7d6200266c0dbd3">XAxiVdma_DmaConfig()</a>, <a class="el" href="group__axivdma__v6__0.html#gab51f0d1f195db6af2dd3023e5c80eb5c">XAxiVdma_DmaRegisterDump()</a>, <a class="el" href="group__axivdma__v6__0.html#ga8fa5b3e7978fda9bde7498a9d4af3c73">XAxiVdma_DmaSetBufferAddr()</a>, <a class="el" href="group__axivdma__v6__0.html#gadf310ae3bd4c0ae9ebf3e445a2fbe444">XAxiVdma_DmaStart()</a>, <a class="el" href="group__axivdma__v6__0.html#ga133b5fd1032db27366382885d6d76484">XAxiVdma_DmaStop()</a>, <a class="el" href="group__axivdma__v6__0.html#gaa3376589f8781eec1f0d619e1a0d3078">XAxiVdma_FsyncSrcSelect()</a>, <a class="el" href="group__axivdma__v6__0.html#gacf7ed6b0ef406b80e49ff25634f6d5f1">XAxiVdma_GenLockSourceSelect()</a>, <a class="el" href="group__axivdma__v6__0.html#ga4d93d3dea2f117948c175371d983a0e1">XAxiVdma_GetDmaChannelErrors()</a>, <a class="el" href="group__axivdma__v6__0.html#gabb2cecf1628ce8f7b42ffca3608bdf70">XAxiVdma_GetFrameCounter()</a>, <a class="el" href="group__axivdma__v6__0.html#ga83d55bee4a575b0fdd98d1013a26533e">XAxiVdma_GetFrmStore()</a>, <a class="el" href="group__axivdma__v6__0.html#ga15653f0679e3a33efd384598b6c42e08">XAxiVdma_GetStatus()</a>, <a class="el" href="group__axivdma__v6__0.html#gaaba3bd6f623637f15e16176ea77213b3">XAxiVdma_IntrClear()</a>, <a class="el" href="group__axivdma__v6__0.html#gaba9a0ebdb72696e24ccaa48e57802323">XAxiVdma_IntrDisable()</a>, <a class="el" href="group__axivdma__v6__0.html#ga4c687431dde198458fb4e42dff22c106">XAxiVdma_IntrEnable()</a>, <a class="el" href="group__axivdma__v6__0.html#ga90501638e7f1077232443f0a60b3b40d">XAxiVdma_IntrGetPending()</a>, <a class="el" href="group__axivdma__v6__0.html#ga0fc5b39aabb8d4f56b0dd2024ea5bff2">XAxiVdma_IsBusy()</a>, <a class="el" href="group__axivdma__v6__0.html#ga2650d7820ff062709d027bff2934cf58">XAxiVdma_MaskS2MMErrIntr()</a>, <a class="el" href="group__axivdma__v6__0.html#ga60ceb86226e513a16d6776a97fcfa50f">XAxiVdma_ReadIntrHandler()</a>, <a class="el" href="group__axivdma__v6__0.html#ga8dbd2faa070ca571f049e3b61f9bdb1e">XAxiVdma_Reset()</a>, <a class="el" href="group__axivdma__v6__0.html#ga3e01bd69f101126d5962f7078ee3e520">XAxiVdma_ResetNotDone()</a>, <a class="el" href="group__axivdma__v6__0.html#ga97041abec8a49ee091440012fec1f7ca">XAxiVdma_Selftest()</a>, <a class="el" href="group__axivdma__v6__0.html#gab14c0b0487aeb3347b289eb58453e75d">XAxiVdma_SetBdAddrs()</a>, <a class="el" href="group__axivdma__v6__0.html#gaabe404c2a5c1483bc95be749c7540ba4">XAxiVdma_SetFrameCounter()</a>, <a class="el" href="group__axivdma__v6__0.html#gaf331929e09bf1454dc2835b6ecc4ff30">XAxiVdma_SetFrmStore()</a>, <a class="el" href="group__axivdma__v6__0.html#ga741b4b1607c2ee71a3be16ddd8300656">XAxiVdma_SetLineBufThreshold()</a>, <a class="el" href="group__axivdma__v6__0.html#ga4f05c5a75fdf840517c17d687443510d">XAxiVdma_StartFrmCntEnable()</a>, <a class="el" href="group__axivdma__v6__0.html#gaf99dd7738b98367397831df26433843a">XAxiVdma_StartParking()</a>, <a class="el" href="group__axivdma__v6__0.html#gab2646b6aeea2ff64c4b42319ffb49804">XAxiVdma_StartReadFrame()</a>, <a class="el" href="group__axivdma__v6__0.html#ga1dc126d885558e03cf06a4d9c05d5668">XAxiVdma_StartWriteFrame()</a>, <a class="el" href="group__axivdma__v6__0.html#ga8625bbc0ed0ab829f3153160c74bba44">XAxiVdma_StopParking()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaad76f2f6ab41e322ddcd240d2af8140d">XAxiVdma_WriteIntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ga4d93d3dea2f117948c175371d983a0e1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_GetDmaChannelErrors </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Check for DMA Channel Errors. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the <a class="el" href="struct_x_axi_vdma.html" title="The XAxiVdma driver instance data. ">XAxiVdma</a> instance to operate on </td></tr>
    <tr><td class="paramname">Direction</td><td>is the channel to work on, use XAXIVDMA_READ/WRITE</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>- Errors seen on the channel<ul>
<li>XST_INVALID_PARAM, when channel pointer is invalid.</li>
<li>XST_DEVICE_NOT_FOUND, when the channel is not valid.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>.</p>

</div>
</div>
<a class="anchor" id="gabb2cecf1628ce8f7b42ffca3608bdf70"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiVdma_GetFrameCounter </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma___frame_counter.html">XAxiVdma_FrameCounter</a> *&#160;</td>
          <td class="paramname"><em>CfgPtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Get the frame counter and delay counter for both channels. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">CfgPtr</td><td>is the configuration structure to contain return values</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If returned frame counter value is 0, then the channel is not valid </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga8b4441757224aa73135d6ed334bacdb5">XAxiVdma::IsReady</a>, <a class="el" href="group__axivdma__v6__0.html#ga03ffbe1551620b7f0f72b905006dcf88">XAxiVdma_FrameCounter::ReadDelayTimerCount</a>, <a class="el" href="group__axivdma__v6__0.html#gaa60c173f1c6d7314821ae2c24e2ff7af">XAxiVdma_FrameCounter::ReadFrameCount</a>, <a class="el" href="group__axivdma__v6__0.html#gad55f207b3d4bfab082a90ea7a43f044c">XAxiVdma_FrameCounter::WriteDelayTimerCount</a>, <a class="el" href="group__axivdma__v6__0.html#gab43078f5f7fdd17728ac6ecfb97aea27">XAxiVdma_FrameCounter::WriteFrameCount</a>, <a class="el" href="group__axivdma__v6__0.html#ga3e90ef720feb2a974511d7e2889a2198">XAxiVdma_ChannelGetFrmCnt()</a>, <a class="el" href="group__axivdma__v6__0.html#gafa8a6604771dc02e3a96eb09ac16fcaa">XAXIVDMA_DEVICE_READY</a>, <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>, <a class="el" href="group__axivdma__v6__0.html#ga5fa27b3ce66d947167262fe918fb5373">XAXIVDMA_READ</a>, and <a class="el" href="group__axivdma__v6__0.html#ga525d0fa8fc04a9dde871ab55cf6b227b">XAXIVDMA_WRITE</a>.</p>

</div>
</div>
<a class="anchor" id="ga83d55bee4a575b0fdd98d1013a26533e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiVdma_GetFrmStore </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>FrmStoreNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Get the number of frame store buffers to use. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the <a class="el" href="struct_x_axi_vdma.html" title="The XAxiVdma driver instance data. ">XAxiVdma</a> instance to operate on </td></tr>
    <tr><td class="paramname">FrmStoreNum</td><td>is the number of frame store buffers to use. </td></tr>
    <tr><td class="paramname">Direction</td><td>is the channel to work on, use XAXIVDMA_READ/WRITE</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gacc02fa25db65faceed9fd49ee88fb609">XAXIVDMA_FRMSTORE_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga15653f0679e3a33efd384598b6c42e08"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAxiVdma_GetStatus </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Get the status of a channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">Direction</td><td>is the channel to work on, use XAXIVDMA_READ/WRITE</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The status of the channel</dd></dl>
<dl class="section note"><dt>Note</dt><dd>An invalid return value indicates that channel is invalid </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gae429b7acc7449fcb805ae013528c9ba0">XAxiVdma_ChannelGetStatus()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>.</p>

</div>
</div>
<a class="anchor" id="ga24f182cf8678e4df6e0e2b19e2f50620"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAxiVdma_GetVersion </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Get the version of the hardware. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The version of the hardware </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga593206ce099f13c6a62e8c1c95f65b0c">XAxiVdma::BaseAddr</a>, <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>, and <a class="el" href="group__axivdma__v6__0.html#ga727fc3fe53b19cda302295ad25fe71a2">XAXIVDMA_VERSION_OFFSET</a>.</p>

</div>
</div>
<a class="anchor" id="gaaba3bd6f623637f15e16176ea77213b3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiVdma_IntrClear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>IntrType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8h.html">xaxivdma.h</a>&gt;</code></p>

<p>Clear the pending interrupts specified by the bit mask. </p>
<p>Interrupts not specified by the mask will not be affected</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">Direction</td><td>is the DMA channel, use XAXIVDMA_READ or XAXIVDMA_WRITE </td></tr>
    <tr><td class="paramname">IntrType</td><td>is the bit mask for the interrups to be cleared</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If channel is invalid, then nothing is done </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga7a8c557bce703f572d4e2dd9e362f489">XAxiVdma_ChannelIntrClear()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>.</p>

</div>
</div>
<a class="anchor" id="gaba9a0ebdb72696e24ccaa48e57802323"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiVdma_IntrDisable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>IntrType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8h.html">xaxivdma.h</a>&gt;</code></p>

<p>Disable specific interrupts for a channel. </p>
<p>Interrupts not specified by the mask will not be affected</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">IntrType</td><td>is the bit mask for the interrups to be disabled </td></tr>
    <tr><td class="paramname">Direction</td><td>is the DMA channel, use XAXIVDMA_READ or XAXIVDMA_WRITE</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If channel is invalid, then nothing is done </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga2daa8c45a82867bedf786957b4154cdc">XAxiVdma_ChannelDisableIntr()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>.</p>

</div>
</div>
<a class="anchor" id="ga4c687431dde198458fb4e42dff22c106"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiVdma_IntrEnable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>IntrType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8h.html">xaxivdma.h</a>&gt;</code></p>

<p>Enable specific interrupts for a channel. </p>
<p>Interrupts not specified by the mask will not be affected</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">Direction</td><td>is the DMA channel, use XAXIVDMA_READ or XAXIVDMA_WRITE </td></tr>
    <tr><td class="paramname">IntrType</td><td>is the bit mask for the interrups to be enabled</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If channel is invalid, then nothing is done </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga64d6b39bc9e900efe9f14c9961f4da24">XAxiVdma_ChannelEnableIntr()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>.</p>

</div>
</div>
<a class="anchor" id="ga90501638e7f1077232443f0a60b3b40d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAxiVdma_IntrGetPending </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8h.html">xaxivdma.h</a>&gt;</code></p>

<p>Get the pending interrupts of a channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">Direction</td><td>is the DMA channel, use XAXIVDMA_READ or XAXIVDMA_WRITE</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The bit mask for the currently pending interrupts</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If Direction is invalid, return 0 </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga361297a60672ab2552754d8a58d3f7ab">XAxiVdma_ChannelGetPendingIntr()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>.</p>

</div>
</div>
<a class="anchor" id="ga0fc5b39aabb8d4f56b0dd2024ea5bff2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_IsBusy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Check whether a DMA channel is busy. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">Direction</td><td>is the channel to work on, use XAXIVDMA_READ/WRITE</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>Non-zero if the channel is busy</li>
<li>Zero if the channel is idle </li>
</ul>
</dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gaaf57ab476eb91e9f41b6d166d2b2d6bb">XAxiVdma_ChannelIsBusy()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>.</p>

</div>
</div>
<a class="anchor" id="ga0188e06158c255eba62f52141cff5d84"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_axi_vdma___config.html">XAxiVdma_Config</a> * XAxiVdma_LookupConfig </td>
          <td>(</td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>DeviceId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8h.html">xaxivdma.h</a>&gt;</code></p>

<p>Look up the hardware configuration for a device instance. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">DeviceId</td><td>is the unique device ID of the device to lookup for</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The configuration structure for the device. If the device ID is not found, a NULL pointer is returned. </dd></dl>

</div>
</div>
<a class="anchor" id="ga2650d7820ff062709d027bff2934cf58"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_MaskS2MMErrIntr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>ErrorMask</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8h.html">xaxivdma.h</a>&gt;</code></p>

<p>Masks the S2MM error interrupt for the provided error mask value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the <a class="el" href="struct_x_axi_vdma.html" title="The XAxiVdma driver instance data. ">XAxiVdma</a> instance to operate on </td></tr>
    <tr><td class="paramname">ErrorMask</td><td>is the mask of error bits for which S2MM error interrupt can be disabled. </td></tr>
    <tr><td class="paramname">Direction</td><td>is the channel to work on, use XAXIVDMA_READ/WRITE</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>- XST_SUCCESS, when error bits are cleared.<ul>
<li>XST_INVALID_PARAM, when channel pointer is invalid.</li>
<li>XST_DEVICE_NOT_FOUND, when the channel is not valid.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>The register S2MM_DMA_IRQ_MASK is only applicable from IPv6.01a which is added at offset XAXIVDMA_S2MM_DMA_IRQ_MASK_OFFSET. For older versions, this offset location is reserved and so the API does not have any effect. </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>, <a class="el" href="group__axivdma__v6__0.html#gae3281565e12c47c4888e228ec6a59e3c">XAXIVDMA_S2MM_DMA_IRQ_MASK_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#ga0ba0af99c40314b1288a6a95ba2ee688">XAXIVDMA_S2MM_IRQ_ERR_ALL_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#ga525d0fa8fc04a9dde871ab55cf6b227b">XAXIVDMA_WRITE</a>, and <a class="el" href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">XAxiVdma_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga60ceb86226e513a16d6776a97fcfa50f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiVdma_ReadIntrHandler </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8h.html">xaxivdma.h</a>&gt;</code></p>

<p>Interrupt handler for the read channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If the channel is invalid, then no interrupt handling </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gaf3e1965613b2d1a437d798e8a37df333">XAxiVdma_ChannelCallBack::CompletionCallBack</a>, <a class="el" href="group__axivdma__v6__0.html#ga43dc909946c675490c5380e7f8f90ede">XAxiVdma_ChannelCallBack::CompletionRef</a>, <a class="el" href="group__axivdma__v6__0.html#ga8bde9bc1e0f2871e63eebff6b4d3a11f">XAxiVdma_ChannelCallBack::ErrCallBack</a>, <a class="el" href="group__axivdma__v6__0.html#gaa39f1f408770ba9a38f520a0c0df5c48">XAxiVdma_ChannelCallBack::ErrRef</a>, <a class="el" href="group__axivdma__v6__0.html#gac2cdde8d751e11e934ecea898574e99a">XAxiVdma::ReadCallBack</a>, <a class="el" href="group__axivdma__v6__0.html#gaccc8d62d87870cb43c048938e405d4e6">XAxiVdma_ChannelGetEnabledIntr()</a>, <a class="el" href="group__axivdma__v6__0.html#ga361297a60672ab2552754d8a58d3f7ab">XAxiVdma_ChannelGetPendingIntr()</a>, <a class="el" href="group__axivdma__v6__0.html#ga7a8c557bce703f572d4e2dd9e362f489">XAxiVdma_ChannelIntrClear()</a>, <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>, <a class="el" href="group__axivdma__v6__0.html#gaed70612ee26f1faf7699e301afda8048">XAXIVDMA_IXR_COMPLETION_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#ga88ccc9e37f16a1b4ecffd5e09a4c8cfb">XAXIVDMA_IXR_ERROR_MASK</a>, and <a class="el" href="group__axivdma__v6__0.html#ga5fa27b3ce66d947167262fe918fb5373">XAXIVDMA_READ</a>.</p>

</div>
</div>
<a class="anchor" id="ga8dbd2faa070ca571f049e3b61f9bdb1e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiVdma_Reset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>This function resets one DMA channel. </p>
<p>The registers will be default values after the reset</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">Direction</td><td>is the channel to work on, use XAXIVDMA_READ/WRITE</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Due to undeterminism of system delays, check the reset status through <a class="el" href="group__axivdma__v6__0.html#ga3e01bd69f101126d5962f7078ee3e520" title="This function checks one DMA channel for reset completion. ">XAxiVdma_ResetNotDone()</a>. If direction is invalid, do nothing. </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga96e2798de16d738f378458fa2b7b2f1c">XAxiVdma_ChannelReset()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>.</p>

</div>
</div>
<a class="anchor" id="ga3e01bd69f101126d5962f7078ee3e520"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_ResetNotDone </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>This function checks one DMA channel for reset completion. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">Direction</td><td>is the channel to work on, use XAXIVDMA_READ/WRITE</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>0 if reset is done</li>
<li>1 if reset is ongoing</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>We do not check for channel validity, because channel is marked as invalid before reset is done </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga9b0a1008f3e30f3f031763f108f76405">XAxiVdma_ChannelResetNotDone()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>.</p>

</div>
</div>
<a class="anchor" id="ga97041abec8a49ee091440012fec1f7ca"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Selftest </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8h.html">xaxivdma.h</a>&gt;</code></p>

<p>Runs a self-test on the driver/device. </p>
<p>This test perform a reset of the VDMA device and checks the device is coming out of reset or not</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_axi_vdma.html" title="The XAxiVdma driver instance data. ">XAxiVdma</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if self-test was successful</li>
</ul>
</dd></dl>
<ul>
<li>XST_FAILURE if the device is not coming out of reset.</li>
</ul>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga593206ce099f13c6a62e8c1c95f65b0c">XAxiVdma::BaseAddr</a>, <a class="el" href="group__axivdma__v6__0.html#gac5806353d2211d78f4c963dd7b018ac9">XAxiVdma::HasMm2S</a>, <a class="el" href="group__axivdma__v6__0.html#ga22a700bda0eb14878a0c343fbac77456">XAxiVdma::HasS2Mm</a>, <a class="el" href="group__axivdma__v6__0.html#ga96e2798de16d738f378458fa2b7b2f1c">XAxiVdma_ChannelReset()</a>, <a class="el" href="group__axivdma__v6__0.html#ga9b0a1008f3e30f3f031763f108f76405">XAxiVdma_ChannelResetNotDone()</a>, <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>, <a class="el" href="group__axivdma__v6__0.html#ga5fa27b3ce66d947167262fe918fb5373">XAXIVDMA_READ</a>, <a class="el" href="group__axivdma__v6__0.html#gab97c05cd73a22a627177554199efb526">XAXIVDMA_RX_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#gae1497f30a25302cb0f4ec93a16a23100">XAXIVDMA_TX_OFFSET</a>, and <a class="el" href="group__axivdma__v6__0.html#ga525d0fa8fc04a9dde871ab55cf6b227b">XAXIVDMA_WRITE</a>.</p>

</div>
</div>
<a class="anchor" id="gab14c0b0487aeb3347b289eb58453e75d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_SetBdAddrs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>BdAddrPhys</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>BdAddrVirt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>NumBds</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Set BD addresses to be different. </p>
<p>In some systems, it is convenient to put BDs into a certain region of the memory. This function enables that.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">BdAddrPhys</td><td>is the physical starting address for BDs </td></tr>
    <tr><td class="paramname">BdAddrVirt</td><td>is the Virtual starting address for BDs. For systems that do not use MMU, then virtual address is the same as physical address </td></tr>
    <tr><td class="paramname">NumBds</td><td>is the number of BDs to setup with. This is required to be the same as the number of frame stores for that channel </td></tr>
    <tr><td class="paramname">Direction</td><td>is the channel direction</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS for a successful setup</li>
<li>XST_DEVICE_BUSY if the DMA channel is not idle, BDs are still being used</li>
<li>XST_INVALID_PARAM if parameters not valid</li>
<li>XST_DEVICE_NOT_FOUND if the channel is invalid</li>
</ul>
</dd></dl>
<p>We assume that the memory region starting from BdAddrPhys and BdAddrVirt are large enough to hold all the BDs. </p>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga6f1b98d0a6280da333bc1a97adea974e">XAXIVDMA_BD_MINIMUM_ALIGNMENT</a>, <a class="el" href="group__axivdma__v6__0.html#ga1703c6dcef193966f4f1db7e6e9e59ce">XAxiVdma_ChannelSetBdAddrs()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>.</p>

</div>
</div>
<a class="anchor" id="gafd0477fae9534ebd2d2e15cc8885642d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_SetCallBack </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>HandlerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallBackFunc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallBackRef</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8h.html">xaxivdma.h</a>&gt;</code></p>

<p>Set call back function and call back reference pointer for one channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">HandlerType</td><td>is the interrupt type that this callback handles </td></tr>
    <tr><td class="paramname">CallBackFunc</td><td>is the call back function pointer </td></tr>
    <tr><td class="paramname">CallBackRef</td><td>is the call back reference pointer </td></tr>
    <tr><td class="paramname">Direction</td><td>is the DMA channel, use XAXIVDMA_READ or XAXIVDMA_WRITE</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if everything is fine</li>
<li>XST_INVALID_PARAM if the handler type or direction invalid</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This function overwrites the existing interrupt handler and its reference pointer. The function sets the handlers even if the channels are invalid. </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gaf3e1965613b2d1a437d798e8a37df333">XAxiVdma_ChannelCallBack::CompletionCallBack</a>, <a class="el" href="group__axivdma__v6__0.html#ga43dc909946c675490c5380e7f8f90ede">XAxiVdma_ChannelCallBack::CompletionRef</a>, <a class="el" href="group__axivdma__v6__0.html#ga8bde9bc1e0f2871e63eebff6b4d3a11f">XAxiVdma_ChannelCallBack::ErrCallBack</a>, <a class="el" href="group__axivdma__v6__0.html#gaa39f1f408770ba9a38f520a0c0df5c48">XAxiVdma_ChannelCallBack::ErrRef</a>, <a class="el" href="group__axivdma__v6__0.html#ga8b4441757224aa73135d6ed334bacdb5">XAxiVdma::IsReady</a>, <a class="el" href="group__axivdma__v6__0.html#gac2cdde8d751e11e934ecea898574e99a">XAxiVdma::ReadCallBack</a>, <a class="el" href="group__axivdma__v6__0.html#gae92ec1b3f2075167e0f552a75ecfde46">XAxiVdma::WriteCallBack</a>, <a class="el" href="group__axivdma__v6__0.html#gafa8a6604771dc02e3a96eb09ac16fcaa">XAXIVDMA_DEVICE_READY</a>, <a class="el" href="group__axivdma__v6__0.html#ga7ed954b5de3073f15b8e47c5736d627b">XAXIVDMA_HANDLER_ERROR</a>, <a class="el" href="group__axivdma__v6__0.html#ga4c57db0180eafe041035a8d4781cb2b9">XAXIVDMA_HANDLER_GENERAL</a>, and <a class="el" href="group__axivdma__v6__0.html#ga5fa27b3ce66d947167262fe918fb5373">XAXIVDMA_READ</a>.</p>

</div>
</div>
<a class="anchor" id="gaabe404c2a5c1483bc95be749c7540ba4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_SetFrameCounter </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma___frame_counter.html">XAxiVdma_FrameCounter</a> *&#160;</td>
          <td class="paramname"><em>CfgPtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Set the frame counter and delay counter for both channels. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">CfgPtr</td><td>is the pointer to the configuration structure</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if setup finishes successfully</li>
<li>XST_INVALID_PARAM if the configuration structure has invalid values</li>
<li>Others if setting channel frame counter fails</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If channel is invalid, then do nothing on that channel </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga8b4441757224aa73135d6ed334bacdb5">XAxiVdma::IsReady</a>, <a class="el" href="group__axivdma__v6__0.html#ga03ffbe1551620b7f0f72b905006dcf88">XAxiVdma_FrameCounter::ReadDelayTimerCount</a>, <a class="el" href="group__axivdma__v6__0.html#gaa60c173f1c6d7314821ae2c24e2ff7af">XAxiVdma_FrameCounter::ReadFrameCount</a>, <a class="el" href="group__axivdma__v6__0.html#gad55f207b3d4bfab082a90ea7a43f044c">XAxiVdma_FrameCounter::WriteDelayTimerCount</a>, <a class="el" href="group__axivdma__v6__0.html#gab43078f5f7fdd17728ac6ecfb97aea27">XAxiVdma_FrameCounter::WriteFrameCount</a>, <a class="el" href="group__axivdma__v6__0.html#ga524861abb42dc3da2ed14d5932a3bb5b">XAxiVdma_ChannelSetFrmCnt()</a>, <a class="el" href="group__axivdma__v6__0.html#gafa8a6604771dc02e3a96eb09ac16fcaa">XAXIVDMA_DEVICE_READY</a>, <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>, <a class="el" href="group__axivdma__v6__0.html#ga5fa27b3ce66d947167262fe918fb5373">XAXIVDMA_READ</a>, and <a class="el" href="group__axivdma__v6__0.html#ga525d0fa8fc04a9dde871ab55cf6b227b">XAXIVDMA_WRITE</a>.</p>

</div>
</div>
<a class="anchor" id="gaf331929e09bf1454dc2835b6ecc4ff30"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_SetFrmStore </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>FrmStoreNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Set the number of frame store buffers to use. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the <a class="el" href="struct_x_axi_vdma.html" title="The XAxiVdma driver instance data. ">XAxiVdma</a> instance to operate on </td></tr>
    <tr><td class="paramname">FrmStoreNum</td><td>is the number of frame store buffers to use. </td></tr>
    <tr><td class="paramname">Direction</td><td>is the channel to work on, use XAXIVDMA_READ/WRITE</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>- XST_SUCCESS if operation is successful<ul>
<li>XST_FAILURE if operation fails.</li>
<li>XST_NO_FEATURE if access to FrameStore register is disabled </li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gac5420b0f3823998ce975acbaf1c174b2">XAxiVdma::MaxNumFrames</a>, <a class="el" href="group__axivdma__v6__0.html#ga795e26fb85aa4140db060d731a19efeb">XAxiVdma_ChannelInit()</a>, <a class="el" href="group__axivdma__v6__0.html#gacc02fa25db65faceed9fd49ee88fb609">XAXIVDMA_FRMSTORE_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">XAxiVdma_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga741b4b1607c2ee71a3be16ddd8300656"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_SetLineBufThreshold </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>LineBufThreshold</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Configure Line Buffer Threshold. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">LineBufThreshold</td><td>is the value to set threshold </td></tr>
    <tr><td class="paramname">Direction</td><td>is the DMA channel to work on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if successful</li>
<li>XST_FAILURE otherwise</li>
<li>XST_NO_FEATURE if access to Threshold register is disabled </li>
</ul>
</dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gad1bc694180b959ab0794ac6c4468a8ba">XAXIVDMA_BUFTHRES_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#gaef1fd25fb7d569716f06428a2cb252a6">XAXIVDMA_ENABLE_DBG_THRESHOLD_REG</a>, <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>, <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>, and <a class="el" href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">XAxiVdma_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga4f05c5a75fdf840517c17d687443510d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiVdma_StartFrmCntEnable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Start frame count enable on one channel. </p>
<p>This is needed to start limiting the number of frames to transfer so that software can check the data etc after hardware stops transfer.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">Direction</td><td>is the channel to work on, use XAXIVDMA_READ/WRITE</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga771725985f20173546d5555fb8806a6c">XAxiVdma_ChannelStartFrmCntEnable()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>.</p>

</div>
</div>
<a class="anchor" id="gaf99dd7738b98367397831df26433843a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_StartParking </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>FrameIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Start parking mode on a certain frame. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">FrameIndex</td><td>is the frame to park on </td></tr>
    <tr><td class="paramname">Direction</td><td>is the channel to work on, use XAXIVDMA_READ/WRITE</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if everything is fine</li>
<li>XST_INVALID_PARAM if . channel is invalid . FrameIndex is invalid . Direction is invalid </li>
</ul>
</dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga593206ce099f13c6a62e8c1c95f65b0c">XAxiVdma::BaseAddr</a>, <a class="el" href="group__axivdma__v6__0.html#ga04f4bf5ac18661ceb9c1ef047949e3d8">XAxiVdma_ChannelStartParking()</a>, <a class="el" href="group__axivdma__v6__0.html#ga7e274c9f02af4538043f757c3e224a91">XAXIVDMA_FRM_MAX</a>, <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>, <a class="el" href="group__axivdma__v6__0.html#ga311f4eadce692b10effb8cd492b2120c">XAXIVDMA_PARKPTR_OFFSET</a>, <a class="el" href="group__axivdma__v6__0.html#ga39001a9b8ae972fc53463961ca423ac1">XAXIVDMA_PARKPTR_READREF_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#ga9656852c690e3a7e5253fe67b87f10cf">XAXIVDMA_PARKPTR_WRTREF_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#ga5fa27b3ce66d947167262fe918fb5373">XAXIVDMA_READ</a>, <a class="el" href="group__axivdma__v6__0.html#gaf573ed8e7f474ba68daa5e8070b976a0">XAxiVdma_ReadReg</a>, <a class="el" href="group__axivdma__v6__0.html#ga525d0fa8fc04a9dde871ab55cf6b227b">XAXIVDMA_WRITE</a>, and <a class="el" href="group__axivdma__v6__0.html#gaaa7bae0ada2e94f563704a8ae4cabfde">XAxiVdma_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="gab2646b6aeea2ff64c4b42319ffb49804"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_StartReadFrame </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma___dma_setup.html">XAxiVdma_DmaSetup</a> *&#160;</td>
          <td class="paramname"><em>DmaConfigPtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Start a read operation. </p>
<p>Read corresponds to send data from memory to device</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">DmaConfigPtr</td><td>is the pointer to the setup structure</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS for a successful submission</li>
<li>XST_DEVICE_BUSY if the DMA channel is not idle, BDs are still being used</li>
<li>XST_INVAID_PARAM if parameters in config structure not valid</li>
<li>XST_DEVICE_NOT_FOUND if the channel is invalid </li>
</ul>
</dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga3b9c24a02c4b4f99d40820a647de811d">XAxiVdma_ChannelStartTransfer()</a>, <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga5fa27b3ce66d947167262fe918fb5373">XAXIVDMA_READ</a>.</p>

</div>
</div>
<a class="anchor" id="ga1dc126d885558e03cf06a4d9c05d5668"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_StartWriteFrame </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma___dma_setup.html">XAxiVdma_DmaSetup</a> *&#160;</td>
          <td class="paramname"><em>DmaConfigPtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Start a write operation. </p>
<p>Write corresponds to send data from device to memory</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">DmaConfigPtr</td><td>is the pointer to the setup structure</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS for a successful submission</li>
<li>XST_DEVICE_BUSY if the DMA channel is not idle, BDs are still being used</li>
<li>XST_INVAID_PARAM if parameters in config structure not valid</li>
<li>XST_DEVICE_NOT_FOUND if the channel is invalid </li>
</ul>
</dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#ga3b9c24a02c4b4f99d40820a647de811d">XAxiVdma_ChannelStartTransfer()</a>, <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga525d0fa8fc04a9dde871ab55cf6b227b">XAXIVDMA_WRITE</a>.</p>

</div>
</div>
<a class="anchor" id="ga8625bbc0ed0ab829f3153160c74bba44"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiVdma_StopParking </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_axi_vdma.html">XAxiVdma</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8c.html">xaxivdma.c</a>&gt;</code></p>

<p>Exit parking mode, the channel will return to circular buffer mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on </td></tr>
    <tr><td class="paramname">Direction</td><td>is the channel to work on, use XAXIVDMA_READ/WRITE</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If channel is invalid, then do nothing </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gacd5a402e30c5170d9dab22d16ff01336">XAxiVdma_ChannelStopParking()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>.</p>

</div>
</div>
<a class="anchor" id="gaad76f2f6ab41e322ddcd240d2af8140d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiVdma_WriteIntrHandler </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxivdma_8h.html">xaxivdma.h</a>&gt;</code></p>

<p>Interrupt handler for the write channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the DMA engine to work on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If the channel is invalid, then no interrupt handling </dd></dl>

<p>References <a class="el" href="group__axivdma__v6__0.html#gaf3e1965613b2d1a437d798e8a37df333">XAxiVdma_ChannelCallBack::CompletionCallBack</a>, <a class="el" href="group__axivdma__v6__0.html#ga43dc909946c675490c5380e7f8f90ede">XAxiVdma_ChannelCallBack::CompletionRef</a>, <a class="el" href="group__axivdma__v6__0.html#ga8bde9bc1e0f2871e63eebff6b4d3a11f">XAxiVdma_ChannelCallBack::ErrCallBack</a>, <a class="el" href="group__axivdma__v6__0.html#gaa39f1f408770ba9a38f520a0c0df5c48">XAxiVdma_ChannelCallBack::ErrRef</a>, <a class="el" href="group__axivdma__v6__0.html#gae92ec1b3f2075167e0f552a75ecfde46">XAxiVdma::WriteCallBack</a>, <a class="el" href="group__axivdma__v6__0.html#gaccc8d62d87870cb43c048938e405d4e6">XAxiVdma_ChannelGetEnabledIntr()</a>, <a class="el" href="group__axivdma__v6__0.html#ga361297a60672ab2552754d8a58d3f7ab">XAxiVdma_ChannelGetPendingIntr()</a>, <a class="el" href="group__axivdma__v6__0.html#ga7a8c557bce703f572d4e2dd9e362f489">XAxiVdma_ChannelIntrClear()</a>, <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>, <a class="el" href="group__axivdma__v6__0.html#gaed70612ee26f1faf7699e301afda8048">XAXIVDMA_IXR_COMPLETION_MASK</a>, <a class="el" href="group__axivdma__v6__0.html#ga88ccc9e37f16a1b4ecffd5e09a4c8cfb">XAXIVDMA_IXR_ERROR_MASK</a>, and <a class="el" href="group__axivdma__v6__0.html#ga525d0fa8fc04a9dde871ab55cf6b227b">XAXIVDMA_WRITE</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="gaefe77aff2f380aac9be64645ca606696"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::AddrWidth</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Address Width. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga49f2cc215d38001d678803c690aa6dd5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma::AddrWidth</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Address Width. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga593206ce099f13c6a62e8c1c95f65b0c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UINTPTR XAxiVdma::BaseAddr</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Memory address for this device. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>, <a class="el" href="group__axivdma__v6__0.html#ga9769479907cda3ef95ff1ed394de4629">XAxiVdma_CurrFrameStore()</a>, <a class="el" href="group__axivdma__v6__0.html#ga24f182cf8678e4df6e0e2b19e2f50620">XAxiVdma_GetVersion()</a>, <a class="el" href="group__axivdma__v6__0.html#ga97041abec8a49ee091440012fec1f7ca">XAxiVdma_Selftest()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaf99dd7738b98367397831df26433843a">XAxiVdma_StartParking()</a>.</p>

</div>
</div>
<a class="anchor" id="ga76cf51d7be754a670e697e74966c68cd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UINTPTR XAxiVdma_Config::BaseAddress</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>BaseAddress is the physical base address of the device's registers. </p>

</div>
</div>
<a class="anchor" id="gaf3e1965613b2d1a437d798e8a37df333"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__axivdma__v6__0.html#ga34821010a7787601c83e0ab528267df2">XAxiVdma_CallBack</a> XAxiVdma_ChannelCallBack::CompletionCallBack</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Call back for completion intr. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>, <a class="el" href="group__axivdma__v6__0.html#ga60ceb86226e513a16d6776a97fcfa50f">XAxiVdma_ReadIntrHandler()</a>, <a class="el" href="group__axivdma__v6__0.html#gafd0477fae9534ebd2d2e15cc8885642d">XAxiVdma_SetCallBack()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaad76f2f6ab41e322ddcd240d2af8140d">XAxiVdma_WriteIntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ga43dc909946c675490c5380e7f8f90ede"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* XAxiVdma_ChannelCallBack::CompletionRef</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Call back ref. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga60ceb86226e513a16d6776a97fcfa50f">XAxiVdma_ReadIntrHandler()</a>, <a class="el" href="group__axivdma__v6__0.html#gafd0477fae9534ebd2d2e15cc8885642d">XAxiVdma_SetCallBack()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaad76f2f6ab41e322ddcd240d2af8140d">XAxiVdma_WriteIntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ga8be3f756a21d2360541a40303a525525"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u16 XAxiVdma_Config::DeviceId</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>DeviceId is the unique ID of the device. </p>

</div>
</div>
<a class="anchor" id="gae3bce37353c26d5b2f077a100cdc7bd4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::EnableAllDbgFeatures</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enable all Debug features This corresponds to C_ENABLE_DEBUG_ALL configuration parameter. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga26fc64b9d238ee745ae0e388f38e8173"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_DmaSetup::EnableCircularBuf</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Circular Buffer Mode? </p>

</div>
</div>
<a class="anchor" id="ga8a2951097dbc67d90d00778eefd5a656"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_DmaSetup::EnableFrameCounter</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Frame Counter Enable. </p>

</div>
</div>
<a class="anchor" id="ga6102a47c1f70529681112f365d0f7bb0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_DmaSetup::EnableSync</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gen-Lock Mode? </p>

</div>
</div>
<a class="anchor" id="ga1acfdf764643a690110d0d9bf0094f75"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::EnableVIDParamRead</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read Enable for video parameters in direct register mode. </p>

</div>
</div>
<a class="anchor" id="ga64be95b7a55ba43f997c7879ef23a492"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma::EnableVIDParamRead</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read Enable for video parameters in direct register mode. </p>

</div>
</div>
<a class="anchor" id="ga8bde9bc1e0f2871e63eebff6b4d3a11f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__axivdma__v6__0.html#gaea567b1a94234bd488f19ce82e22486b">XAxiVdma_ErrorCallBack</a> XAxiVdma_ChannelCallBack::ErrCallBack</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Call back for error intr. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>, <a class="el" href="group__axivdma__v6__0.html#ga60ceb86226e513a16d6776a97fcfa50f">XAxiVdma_ReadIntrHandler()</a>, <a class="el" href="group__axivdma__v6__0.html#gafd0477fae9534ebd2d2e15cc8885642d">XAxiVdma_SetCallBack()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaad76f2f6ab41e322ddcd240d2af8140d">XAxiVdma_WriteIntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="gaa39f1f408770ba9a38f520a0c0df5c48"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* XAxiVdma_ChannelCallBack::ErrRef</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Call back ref. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga60ceb86226e513a16d6776a97fcfa50f">XAxiVdma_ReadIntrHandler()</a>, <a class="el" href="group__axivdma__v6__0.html#gafd0477fae9534ebd2d2e15cc8885642d">XAxiVdma_SetCallBack()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaad76f2f6ab41e322ddcd240d2af8140d">XAxiVdma_WriteIntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ga21f79be4ba14288e99cb3eacbdea2a17"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_DmaSetup::FixedFrameStoreAddr</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fixed Frame Store Address index. </p>

</div>
</div>
<a class="anchor" id="ga0ff6f00da81986d480ae3baed727e4a9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::FlushonFsync</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>VDMA Transactions are flushed &amp; channel states reset on Frame Sync. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga35c5f4bb861abceeaf787e047f478b41"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_DmaSetup::FrameDelay</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Frame Delay. </p>

</div>
</div>
<a class="anchor" id="gaea84e7c0f6497813f1989af6ae6cbf70"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UINTPTR XAxiVdma_DmaSetup::FrameStoreStartAddr[<a class="el" href="group__axivdma__v6__0.html#ga74cbf8945ca6cf9175bac9d7ad21a1bf">XAXIVDMA_MAX_FRAMESTORE</a>]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Start Addresses of Frame Store Buffers. </p>

</div>
</div>
<a class="anchor" id="gad770de5bdcc65820b2dca13c0e590854"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_DmaSetup::GenLockRepeat</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gen-Lock Repeat? </p>

</div>
</div>
<a class="anchor" id="gae737875f784d02112726509846784dd1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::HasMm2S</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether hw build has read channel. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gac5806353d2211d78f4c963dd7b018ac9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma::HasMm2S</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether hw build has read channel. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>, <a class="el" href="group__axivdma__v6__0.html#gacf7ed6b0ef406b80e49ff25634f6d5f1">XAxiVdma_GenLockSourceSelect()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga97041abec8a49ee091440012fec1f7ca">XAxiVdma_Selftest()</a>.</p>

</div>
</div>
<a class="anchor" id="gae673d8167e09607574eafbcebd1f0059"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::HasMm2SDRE</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read channel supports unaligned transfer. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga1d5c38336cb3bf54211299867efeef2e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma::HasMm2SDRE</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether read channel has DRE. </p>

</div>
</div>
<a class="anchor" id="gac0131f5b3987b78fe975c03f264586a6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::HasS2Mm</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether hw build has write channel. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga22a700bda0eb14878a0c343fbac77456"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma::HasS2Mm</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether hw build has write channel. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>, <a class="el" href="group__axivdma__v6__0.html#gacf7ed6b0ef406b80e49ff25634f6d5f1">XAxiVdma_GenLockSourceSelect()</a>, and <a class="el" href="group__axivdma__v6__0.html#ga97041abec8a49ee091440012fec1f7ca">XAxiVdma_Selftest()</a>.</p>

</div>
</div>
<a class="anchor" id="ga88e3b8ed3aa34aec7d9936681eadae97"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::HasS2MmDRE</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Write channel supports unaligned transfer. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gac30944eb3c6ea9b1677f5fb916eb6e19"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma::HasS2MmDRE</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether write channel has DRE. </p>

</div>
</div>
<a class="anchor" id="gaf28619bcd27f94ceaf47bbeb0cb0400c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::HasSG</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether hardware has SG engine. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gad116974229d0e33b61767742f42d9584"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma::HasSG</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether hardware has SG engine. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga11ed1fd062b11845c8573ef4598383ea"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_DmaSetup::HoriSizeInput</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Horizontal size input. </p>

</div>
</div>
<a class="anchor" id="ga990e5208e4320a26ca4cc8f50407489d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::InternalGenLock</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Internal Gen Lock. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga3af417807133e29a55867f9c853fa25b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma::InternalGenLock</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Internal Gen Lock. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>, and <a class="el" href="group__axivdma__v6__0.html#gacf7ed6b0ef406b80e49ff25634f6d5f1">XAxiVdma_GenLockSourceSelect()</a>.</p>

</div>
</div>
<a class="anchor" id="ga8b4441757224aa73135d6ed334bacdb5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma::IsReady</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether driver is initialized. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>, <a class="el" href="group__axivdma__v6__0.html#gabb2cecf1628ce8f7b42ffca3608bdf70">XAxiVdma_GetFrameCounter()</a>, <a class="el" href="group__axivdma__v6__0.html#gafd0477fae9534ebd2d2e15cc8885642d">XAxiVdma_SetCallBack()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaabe404c2a5c1483bc95be749c7540ba4">XAxiVdma_SetFrameCounter()</a>.</p>

</div>
</div>
<a class="anchor" id="gabbeae935b306619b3e2d41598ea1727e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u16 XAxiVdma_Config::MaxFrameStoreNum</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The maximum number of Frame Stores. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gac5420b0f3823998ce975acbaf1c174b2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma::MaxNumFrames</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Number of frames to work on. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaf331929e09bf1454dc2835b6ecc4ff30">XAxiVdma_SetFrmStore()</a>.</p>

</div>
</div>
<a class="anchor" id="ga14b3296d09ee88ac27a415ca2452a60e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::Mm2SBufDepth</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Depth of Read Channel Line Buffer FIFO. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga3f3291160fad20f64ce2e18efcfe8566"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::Mm2SDlyCntrEn</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MM2S Delay Counter (Control Reg) Enable Flag This corresponds to C_ENABLE_DEBUG_INFO_6 configuration parameter. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gaca0e931b1418fda82650456d7639b752"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::Mm2SFrmCntrEn</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MM2S Frame Counter (Control Reg) Enable Flag This corresponds to C_ENABLE_DEBUG_INFO_7 configuration parameter. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gad04ebadf6c05c481198b6b27e5e9eec8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::Mm2SFrmStoreRegEn</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MM2S Frame Store Register Enable Flag This corresponds to C_ENABLE_DEBUG_INFO_5 configuration parameter. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga7057aa6b1b3614612b2b1331ec6afd87"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::Mm2SGenLock</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Mm2s Gen Lock Mode. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga569bedc89182bd0542f62580767c98d3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::Mm2SStreamWidth</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MM2S TData Width. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gacda6ef717d6af941e0f0c8dc90185a24"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::Mm2SThresRegEn</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MM2S Threshold Register Enable Flag This corresponds to C_ENABLE_DEBUG_INFO_1 configuration parameter. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gaf7a988cf756f60c718d29e2f3273764b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::Mm2SWordLen</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read channel word length. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gaac365860b37a8b93e667f54f7f8e1e9c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_DmaSetup::PointNum</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Master we synchronize with. </p>

</div>
</div>
<a class="anchor" id="gac2cdde8d751e11e934ecea898574e99a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_axi_vdma___channel_call_back.html">XAxiVdma_ChannelCallBack</a> XAxiVdma::ReadCallBack</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Call back for read channel. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>, <a class="el" href="group__axivdma__v6__0.html#ga60ceb86226e513a16d6776a97fcfa50f">XAxiVdma_ReadIntrHandler()</a>, and <a class="el" href="group__axivdma__v6__0.html#gafd0477fae9534ebd2d2e15cc8885642d">XAxiVdma_SetCallBack()</a>.</p>

</div>
</div>
<a class="anchor" id="ga1534da961a034f0aa6ea9fee0702e7f0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">XAxiVdma_Channel XAxiVdma::ReadChannel</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Channel to read from memory. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>.</p>

</div>
</div>
<a class="anchor" id="ga03ffbe1551620b7f0f72b905006dcf88"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XAxiVdma_FrameCounter::ReadDelayTimerCount</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Delay timer threshold for receive. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#gabb2cecf1628ce8f7b42ffca3608bdf70">XAxiVdma_GetFrameCounter()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaabe404c2a5c1483bc95be749c7540ba4">XAxiVdma_SetFrameCounter()</a>.</p>

</div>
</div>
<a class="anchor" id="gaa60c173f1c6d7314821ae2c24e2ff7af"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XAxiVdma_FrameCounter::ReadFrameCount</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Interrupt threshold for Receive. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#gabb2cecf1628ce8f7b42ffca3608bdf70">XAxiVdma_GetFrameCounter()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaabe404c2a5c1483bc95be749c7540ba4">XAxiVdma_SetFrameCounter()</a>.</p>

</div>
</div>
<a class="anchor" id="gae165f3cbaa2eb57aa1708743e45aa845"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::S2MmBufDepth</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Depth of Write Channel Line Buffer FIFO. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga263c9059a1a7220c0d082791d1f99681"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::S2MmDlyCntrEn</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>S2MM Delay Counter (Control Reg) Enable Flag This corresponds to C_ENABLE_DEBUG_INFO_14 configuration parameter. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gac0f7d3262d6a8a66cb68516be91f9fa0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::S2MmFrmCntrEn</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>S2MM Frame Counter (Control Reg) Enable Flag This corresponds to C_ENABLE_DEBUG_INFO_15 configuration parameter. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga5835e4da4043a081141184f760894960"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::S2MmFrmStoreRegEn</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>S2MM Frame Store Register Enable Flag This corresponds to C_ENABLE_DEBUG_INFO_13 configuration parameter. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga7938ca3c609d8a44a05cf81cde30a4a7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::S2MmGenLock</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>S2Mm Gen Lock Mode. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga7de365f4e644f7d357dfb5aea0ba4241"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::S2MmSOF</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>S2MM Start of Flag Enable. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gaf8169029d1b2a372478df2ad52c99ae3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::S2MmStreamWidth</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>S2MM TData Width. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga83e466b0e6d0b8711db0372000009c9b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::S2MmThresRegEn</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>S2MM Threshold Register Enable Flag This corresponds to C_ENABLE_DEBUG_INFO_9 configuration parameter. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gaef8758d32c62de587d9e57fed56c01ee"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::S2MmWordLen</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Write channel word length. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga080eed5ecf9444cfe6351a244d587aea"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_DmaSetup::Stride</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Stride. </p>

</div>
</div>
<a class="anchor" id="gab97aef716c82252eeb7eb12832a31dd5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_Config::UseFsync</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>DMA operations synchronized to Frame Sync. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga2158cdab0215f4079c14741e1af43c5d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma::UseFsync</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>DMA operations synchronized to Frame Sync. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaa3376589f8781eec1f0d619e1a0d3078">XAxiVdma_FsyncSrcSelect()</a>.</p>

</div>
</div>
<a class="anchor" id="ga8539fe046ff0373a8256ca18a2c5e1d3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiVdma_DmaSetup::VertSizeInput</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Vertical size input. </p>

</div>
</div>
<a class="anchor" id="gae92ec1b3f2075167e0f552a75ecfde46"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_axi_vdma___channel_call_back.html">XAxiVdma_ChannelCallBack</a> XAxiVdma::WriteCallBack</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Call back for write channel. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga8d11c9609cf957c560fb287af1433374">XAxiVdma_CfgInitialize()</a>, <a class="el" href="group__axivdma__v6__0.html#gafd0477fae9534ebd2d2e15cc8885642d">XAxiVdma_SetCallBack()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaad76f2f6ab41e322ddcd240d2af8140d">XAxiVdma_WriteIntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ga606f7921a2a8cf10cfdcf34ee2e82d0a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">XAxiVdma_Channel XAxiVdma::WriteChannel</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Channel to write to memory. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#ga0eecc03385d10b80e8b17ff834033ac4">XAxiVdma_GetChannel()</a>.</p>

</div>
</div>
<a class="anchor" id="gad55f207b3d4bfab082a90ea7a43f044c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XAxiVdma_FrameCounter::WriteDelayTimerCount</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Delay timer threshold for transmit. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#gabb2cecf1628ce8f7b42ffca3608bdf70">XAxiVdma_GetFrameCounter()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaabe404c2a5c1483bc95be749c7540ba4">XAxiVdma_SetFrameCounter()</a>.</p>

</div>
</div>
<a class="anchor" id="gab43078f5f7fdd17728ac6ecfb97aea27"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XAxiVdma_FrameCounter::WriteFrameCount</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Interrupt threshold for transmit. </p>

<p>Referenced by <a class="el" href="group__axivdma__v6__0.html#gabb2cecf1628ce8f7b42ffca3608bdf70">XAxiVdma_GetFrameCounter()</a>, and <a class="el" href="group__axivdma__v6__0.html#gaabe404c2a5c1483bc95be749c7540ba4">XAxiVdma_SetFrameCounter()</a>.</p>

</div>
</div>
</div><!-- contents -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
